File tree 4 files changed +19
-6
lines changed
src/ci/docker/host-x86_64
wasm-stringify-ints-small
4 files changed +19
-6
lines changed Original file line number Diff line number Diff line change @@ -85,9 +85,9 @@ RUN /tmp/build-solaris-toolchain.sh sparcv9 sparcv9 solaris-sparc sun
85
85
COPY host-x86_64/dist-various-2/build-x86_64-fortanix-unknown-sgx-toolchain.sh /tmp/
86
86
RUN /tmp/build-x86_64-fortanix-unknown-sgx-toolchain.sh
87
87
88
- RUN curl -L https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-22 /wasi-sdk-22.0 -linux.tar.gz | \
88
+ RUN curl -L https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-23 /wasi-sdk-23.0-x86_64 -linux.tar.gz | \
89
89
tar -xz
90
- ENV WASI_SDK_PATH=/tmp/wasi-sdk-22.0
90
+ ENV WASI_SDK_PATH=/tmp/wasi-sdk-23.0-x86_64-linux
91
91
92
92
COPY scripts/freebsd-toolchain.sh /tmp/
93
93
RUN /tmp/freebsd-toolchain.sh i686
Original file line number Diff line number Diff line change @@ -40,9 +40,9 @@ WORKDIR /
40
40
COPY scripts/sccache.sh /scripts/
41
41
RUN sh /scripts/sccache.sh
42
42
43
- RUN curl -L https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-22 /wasi-sdk-22.0 -linux.tar.gz | \
43
+ RUN curl -L https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-23 /wasi-sdk-23.0-x86_64 -linux.tar.gz | \
44
44
tar -xz
45
- ENV WASI_SDK_PATH=/wasi-sdk-22.0
45
+ ENV WASI_SDK_PATH=/wasi-sdk-23.0-x86_64-linux
46
46
47
47
ENV RUST_CONFIGURE_ARGS \
48
48
--musl-root-x86_64=/usr/local/x86_64-linux-musl \
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