about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/ci/docker/asmjs/Dockerfile2
-rw-r--r--src/ci/docker/wasm32/Dockerfile3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/ci/docker/asmjs/Dockerfile b/src/ci/docker/asmjs/Dockerfile
index 75db374907d..24e9311d680 100644
--- a/src/ci/docker/asmjs/Dockerfile
+++ b/src/ci/docker/asmjs/Dockerfile
@@ -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
diff --git a/src/ci/docker/wasm32/Dockerfile b/src/ci/docker/wasm32/Dockerfile
index aeccbb9bdc0..7a305591511 100644
--- a/src/ci/docker/wasm32/Dockerfile
+++ b/src/ci/docker/wasm32/Dockerfile
@@ -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 \