mirror of
https://github.com/pezkuwichain/pezkuwi-runtime-templates.git
synced 2026-04-22 11:27:55 +00:00
14 lines
334 B
Rust
14 lines
334 B
Rust
#[cfg(feature = "std")]
|
|
fn main() {
|
|
substrate_wasm_builder::WasmBuilder::new()
|
|
.with_current_project()
|
|
.export_heap_base()
|
|
.import_memory()
|
|
.build()
|
|
}
|
|
|
|
/// The wasm builder is deactivated when compiling
|
|
/// this crate for wasm to speed up the compilation.
|
|
#[cfg(not(feature = "std"))]
|
|
fn main() {}
|