Crate wasm_builder_runner

Crate wasm_builder_runner 

Source
Expand description

§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 wasm-builder to prevent any dependencies from wasm-builder influencing the main project’s dependencies.

For more information see https://crates.io/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.