revert code to substrate original (#80)

This commit is contained in:
Özgün Özerk
2024-01-04 17:20:22 +03:00
committed by GitHub
parent 22ac00a7a2
commit 2b280dd1cd
+11 -3
View File
@@ -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() {}