mirror of
https://github.com/pezkuwichain/pez-solochain-template.git
synced 2026-04-21 23:47:59 +00:00
17 lines
464 B
Rust
17 lines
464 B
Rust
#[cfg(all(feature = "std", feature = "metadata-hash"))]
|
|
fn main() {
|
|
bizinikiwi_wasm_builder::WasmBuilder::init_with_defaults()
|
|
.enable_metadata_hash("UNIT", 12)
|
|
.build();
|
|
}
|
|
|
|
#[cfg(all(feature = "std", not(feature = "metadata-hash")))]
|
|
fn main() {
|
|
bizinikiwi_wasm_builder::WasmBuilder::build_using_defaults();
|
|
}
|
|
|
|
/// The wasm builder is deactivated when compiling
|
|
/// this crate for wasm to speed up the compilation.
|
|
#[cfg(not(feature = "std"))]
|
|
fn main() {}
|