Skip to content

Commit b0b6e36

Browse files
committed
Update test and add -O1 to wasm32 Dockerfile
1 parent a2264f6 commit b0b6e36

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/ci/docker/asmjs/Dockerfile

-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ ENV EM_CONFIG=/emsdk-portable/.emscripten
2929
ENV TARGETS=asmjs-unknown-emscripten
3030

3131
# Use -O1 optimizations in the link step to reduce time spent optimizing JS.
32-
# FIXME: Switch to testing wasm32-unknown-emscripten and -O1 to save more time
33-
# once the CI picks up https://github.com/rust-lang/cargo/pull/7476.
3432
ENV EMCC_CFLAGS=-O1
3533

3634
ENV SCRIPT python2.7 ../x.py test --target $TARGETS

src/ci/docker/wasm32/Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ ENV EM_CONFIG=/emsdk-portable/.emscripten
2828

2929
ENV TARGETS=wasm32-unknown-emscripten
3030

31+
# Use -O1 optimizations in the link step to reduce time spent optimizing.
32+
ENV EMCC_CFLAGS=-O1
33+
3134
# FIXME: Re-enable these tests once https://github.com/rust-lang/cargo/pull/7476
3235
# is picked up by CI
3336
ENV SCRIPT python2.7 ../x.py test --target $TARGETS \

0 commit comments

Comments
 (0)