Update test and add -O1 to wasm32 Dockerfile

This commit is contained in:
Thomas Lively 2019-10-11 17:14:48 -07:00
parent a2264f6af5
commit b0b6e368c0
2 changed files with 3 additions and 2 deletions

View file

@ -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

View file

@ -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 \