Files
pez-solochain-template/runtime/build.rs
T
paritytech-polkadotsdk-templatebot[bot] 93f30a2356 Update the solochain template to stable2409 (#14)
This synchronizes the template to the stable2409 branch.

Co-authored-by: iulianbarbu <14218860+iulianbarbu@users.noreply.github.com>
2024-11-06 14:53:58 +02:00

17 lines
462 B
Rust

#[cfg(all(feature = "std", feature = "metadata-hash"))]
fn main() {
substrate_wasm_builder::WasmBuilder::init_with_defaults()
.enable_metadata_hash("UNIT", 12)
.build();
}
#[cfg(all(feature = "std", not(feature = "metadata-hash")))]
fn main() {
substrate_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() {}