[−][src]Function substrate_wasm_builder::build_project_with_default_rustflags
pub fn build_project_with_default_rustflags(
file_name: &str,
cargo_manifest: &str,
default_rustflags: &str
)
Build the currently built project as wasm binary.
The current project is determined by using the CARGO_MANIFEST_DIR environment variable.
file_name - The name + path of the file being generated. The file contains the
constant WASM_BINARY, which contains the built WASM binary.
cargo_manifest - The path to the Cargo.toml of the project that should be built.
default_rustflags - Default RUSTFLAGS that will always be set for the build.