[][src]Crate substrate_wasm_builder_runner

WASM builder runner

Since cargo contains many bugs when it comes to correct dependency and feature resolution, we need this little tool. See https://github.com/rust-lang/cargo/issues/5730 for more information.

It will create a project that will call substrate-wasm-builder to prevent any dependencies from substrate-wasm-builder influencing the main project's dependencies.

For more information see https://crates.io/substrate-wasm-builder

Structs

WasmBuilder

The builder for building a wasm binary.

WasmBuilderSelectProject

First step of the WasmBuilder to select the project to build.

WasmBuilderSelectSource

Second step of the WasmBuilder to set the source of the wasm-builder.

Enums

WasmBuilderSource

The wasm-builder dependency source.

Functions

build_current_projectDeprecated

Build the currently built project as WASM binary.

build_current_project_with_rustflagsDeprecated

Build the currently built project as WASM binary and extend RUSTFLAGS with the given rustflags.