about summary refs log tree commit diff
path: root/src/ci/docker
diff options
context:
space:
mode:
authorHans Kratz <hans@appfour.com>2021-10-11 19:38:15 +0200
committerHans Kratz <hans@appfour.com>2021-10-21 13:10:52 +0200
commit5c8fca585c6974f05eff3a48181f5a235d5482b6 (patch)
treeea6a51a4b9575e38ef57cfd55852dbaa6d6ba2c9 /src/ci/docker
parente015ef5b2633960e7653b744d7a1c3d1d336313a (diff)
downloadrust-5c8fca585c6974f05eff3a48181f5a235d5482b6.tar.gz
rust-5c8fca585c6974f05eff3a48181f5a235d5482b6.zip
CI: Enable overflow checks for test (non-dist) builds
Diffstat (limited to 'src/ci/docker')
-rw-r--r--src/ci/docker/host-x86_64/disabled/asmjs/Dockerfile1
-rw-r--r--src/ci/docker/host-x86_64/test-various/Dockerfile1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/ci/docker/host-x86_64/disabled/asmjs/Dockerfile b/src/ci/docker/host-x86_64/disabled/asmjs/Dockerfile
index e04f6409f54..07dcb9ea928 100644
--- a/src/ci/docker/host-x86_64/disabled/asmjs/Dockerfile
+++ b/src/ci/docker/host-x86_64/disabled/asmjs/Dockerfile
@@ -40,3 +40,4 @@ ENV SCRIPT python3 ../x.py --stage 2 test --host='' --target $TARGETS
 # running with assertions again is not useful
 ENV NO_DEBUG_ASSERTIONS=1
 ENV NO_LLVM_ASSERTIONS=1
+ENV NO_OVERFLOW_CHECKS=1
diff --git a/src/ci/docker/host-x86_64/test-various/Dockerfile b/src/ci/docker/host-x86_64/test-various/Dockerfile
index ad0e8e9f928..4d4953fa0e2 100644
--- a/src/ci/docker/host-x86_64/test-various/Dockerfile
+++ b/src/ci/docker/host-x86_64/test-various/Dockerfile
@@ -39,6 +39,7 @@ ENV RUST_CONFIGURE_ARGS \
 # otherwise normally be. We already test libstd with debug assertions in lots of
 # other contexts as well
 ENV NO_DEBUG_ASSERTIONS=1
+ENV NO_OVERFLOW_CHECKS=1
 
 ENV WASM_TARGETS=wasm32-unknown-unknown
 ENV WASM_SCRIPT python3 /checkout/x.py --stage 2 test --host='' --target $WASM_TARGETS \