[][src]Function substrate_wasm_builder_runner::build_current_project

pub fn build_current_project(
    file_name: &str,
    wasm_builder_source: WasmBuilderSource
)
Deprecated since 1.0.5:

Please switch to [WasmBuilder]

Build the currently built project as WASM binary.

The current project is determined using the CARGO_MANIFEST_DIR environment variable.

file_name - The name of the file being generated in the OUT_DIR. The file contains the constant WASM_BINARY which contains the build wasm binary. wasm_builder_path - Path to the wasm-builder project, relative to CARGO_MANIFEST_DIR.