mirror of
https://github.com/pezkuwichain/pezkuwi-runtime-templates.git
synced 2026-04-22 02:07:55 +00:00
revert code to substrate original (#80)
This commit is contained in:
+11
-3
@@ -1,5 +1,13 @@
|
||||
use substrate_wasm_builder::WasmBuilder;
|
||||
|
||||
#[cfg(feature = "std")]
|
||||
fn main() {
|
||||
WasmBuilder::new().with_current_project().export_heap_base().import_memory().build()
|
||||
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() {}
|
||||
|
||||
Reference in New Issue
Block a user