File tree Expand file tree Collapse file tree 4 files changed +16
-0
lines changed Expand file tree Collapse file tree 4 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 19
19
// crates.io
20
20
use substrate_wasm_builder:: WasmBuilder ;
21
21
22
+ #[ cfg( feature = "std" ) ]
22
23
fn main ( ) {
23
24
WasmBuilder :: new ( ) . with_current_project ( ) . export_heap_base ( ) . import_memory ( ) . build ( )
24
25
}
26
+
27
+ #[ cfg( not( feature = "std" ) ) ]
28
+ fn main ( ) { }
Original file line number Diff line number Diff line change 19
19
// crates.io
20
20
use substrate_wasm_builder:: WasmBuilder ;
21
21
22
+ #[ cfg( feature = "std" ) ]
22
23
fn main ( ) {
23
24
WasmBuilder :: new ( ) . with_current_project ( ) . export_heap_base ( ) . import_memory ( ) . build ( )
24
25
}
26
+
27
+ #[ cfg( not( feature = "std" ) ) ]
28
+ fn main ( ) { }
Original file line number Diff line number Diff line change 19
19
// crates.io
20
20
use substrate_wasm_builder:: WasmBuilder ;
21
21
22
+ #[ cfg( feature = "std" ) ]
22
23
fn main ( ) {
23
24
WasmBuilder :: new ( ) . with_current_project ( ) . export_heap_base ( ) . import_memory ( ) . build ( )
24
25
}
26
+
27
+ #[ cfg( not( feature = "std" ) ) ]
28
+ fn main ( ) { }
Original file line number Diff line number Diff line change 19
19
// crates.io
20
20
use substrate_wasm_builder:: WasmBuilder ;
21
21
22
+ #[ cfg( feature = "std" ) ]
22
23
fn main ( ) {
23
24
WasmBuilder :: new ( ) . with_current_project ( ) . export_heap_base ( ) . import_memory ( ) . build ( )
24
25
}
26
+
27
+ #[ cfg( not( feature = "std" ) ) ]
28
+ fn main ( ) { }
You can’t perform that action at this time.
0 commit comments