File tree 2 files changed +15
-2
lines changed
wasm-stringify-ints-small
2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,14 @@ fn main() {
13
13
fn test ( cfg : & str ) {
14
14
eprintln ! ( "running cfg {cfg:?}" ) ;
15
15
16
- rustc ( ) . input ( "foo.rs" ) . target ( "wasm32-wasip1" ) . arg ( "-Clto" ) . opt ( ) . cfg ( cfg) . run ( ) ;
16
+ rustc ( )
17
+ . input ( "foo.rs" )
18
+ . target ( "wasm32-wasip1" )
19
+ . arg ( "-Clto" )
20
+ . arg ( "-Cstrip=debuginfo" )
21
+ . opt ( )
22
+ . cfg ( cfg)
23
+ . run ( ) ;
17
24
18
25
let bytes = rfs:: read ( "foo.wasm" ) ;
19
26
println ! ( "{}" , bytes. len( ) ) ;
Original file line number Diff line number Diff line change 4
4
use run_make_support:: { rfs, rustc} ;
5
5
6
6
fn main ( ) {
7
- rustc ( ) . input ( "foo.rs" ) . target ( "wasm32-wasip1" ) . arg ( "-Clto" ) . opt ( ) . run ( ) ;
7
+ rustc ( )
8
+ . input ( "foo.rs" )
9
+ . target ( "wasm32-wasip1" )
10
+ . arg ( "-Clto" )
11
+ . arg ( "-Cstrip=debuginfo" )
12
+ . opt ( )
13
+ . run ( ) ;
8
14
9
15
let bytes = rfs:: read ( "foo.wasm" ) ;
10
16
println ! ( "{}" , bytes. len( ) ) ;
You can’t perform that action at this time.
0 commit comments