Registry / build-tool / substrate-wasm-builder

substrate-wasm-builder

JSON →
library32.0.0rscratesunverified

Utility for building WASM binaries for Substrate-based blockchains.

# Cargo.toml [dependencies] substrate-wasm-builder = "32.0.0"
INSTALL
IMPORT
SIG · SUBSTRATE-WASM-BUI
S
substrate-wasm-builder
build-toolrustv32.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

WasmBuilder
✓ use substrate_wasm_builder::WasmBuilder;

Builds the WASM binary for the current Substrate runtime project.

use substrate_wasm_builder::WasmBuilder; fn main() { WasmBuilder::new() .with_current_project() .export_heap_base() .import_memory() .build(); }
Debug
Known issues
gotchaRequires the `wasm32-unknown-unknown` target to be installed.
fix
Run `rustup target add wasm32-unknown-unknown`.
affects: >=0.0.0
Upgrade
Version history
32.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
26 hits · last 30 days
node
24
OpenAI (training)
1
Resources
substrate-wasm-builder — cargo add substrate-wasm-builder · libregistry