mirror of
https://github.com/pezkuwichain/pezkuwi-runtime-templates.git
synced 2026-06-20 15:51:03 +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() {
|
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