[−][src]Function substrate_wasm_builder::build_project
pub fn build_project(file_name: &str, cargo_manifest: &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.