Update test and add -O1 to wasm32 Dockerfile
This commit is contained in:
parent
a2264f6af5
commit
b0b6e368c0
2 changed files with 3 additions and 2 deletions
|
@ -29,8 +29,6 @@ ENV EM_CONFIG=/emsdk-portable/.emscripten
|
|||
ENV TARGETS=asmjs-unknown-emscripten
|
||||
|
||||
# Use -O1 optimizations in the link step to reduce time spent optimizing JS.
|
||||
# FIXME: Switch to testing wasm32-unknown-emscripten and -O1 to save more time
|
||||
# once the CI picks up https://github.com/rust-lang/cargo/pull/7476.
|
||||
ENV EMCC_CFLAGS=-O1
|
||||
|
||||
ENV SCRIPT python2.7 ../x.py test --target $TARGETS
|
||||
|
|
|
@ -28,6 +28,9 @@ ENV EM_CONFIG=/emsdk-portable/.emscripten
|
|||
|
||||
ENV TARGETS=wasm32-unknown-emscripten
|
||||
|
||||
# Use -O1 optimizations in the link step to reduce time spent optimizing.
|
||||
ENV EMCC_CFLAGS=-O1
|
||||
|
||||
# FIXME: Re-enable these tests once https://github.com/rust-lang/cargo/pull/7476
|
||||
# is picked up by CI
|
||||
ENV SCRIPT python2.7 ../x.py test --target $TARGETS \
|
||||
|
|
Loading…
Reference in a new issue