File tree Expand file tree Collapse file tree 2 files changed +15
-2
lines changed
wasm-stringify-ints-small Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,14 @@ fn main() {
1313fn test ( cfg : & str ) {
1414 eprintln ! ( "running cfg {cfg:?}" ) ;
1515
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 ( ) ;
1724
1825 let bytes = rfs:: read ( "foo.wasm" ) ;
1926 println ! ( "{}" , bytes. len( ) ) ;
Original file line number Diff line number Diff line change 44use run_make_support:: { rfs, rustc} ;
55
66fn 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 ( ) ;
814
915 let bytes = rfs:: read ( "foo.wasm" ) ;
1016 println ! ( "{}" , bytes. len( ) ) ;
You can’t perform that action at this time.
0 commit comments