Skip to content

Commit ef5d82e

Browse files
committed
CI: disable rustc debug assertions for mingw-check
AFAIK `mingw-check` is intended for fast-rejection, so disable `rust.debug-assertions` (as it would be lying to say CI rustc has debug assertions).
1 parent dc8e56f commit ef5d82e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/ci/docker/host-x86_64/mingw-check/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ COPY host-x86_64/mingw-check/validate-error-codes.sh /scripts/
4343

4444
ENV RUN_CHECK_WITH_PARALLEL_QUERIES 1
4545

46+
# NOTE(jieyouxu): CI rustc do not have rustc debug assertions at the moment!
47+
ENV NO_DEBUG_ASSERTIONS 1
48+
4649
# Check library crates on all tier 1 targets.
4750
# We disable optimized compiler built-ins because that requires a C toolchain for the target.
4851
# We also skip the x86_64-unknown-linux-gnu target as it is well-tested by other jobs.

0 commit comments

Comments
 (0)