Skip to content

Commit

Permalink
CI: disable rustc debug assertions for mingw-check
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
jieyouxu committed Nov 18, 2024
1 parent dc8e56f commit ef5d82e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ci/docker/host-x86_64/mingw-check/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ COPY host-x86_64/mingw-check/validate-error-codes.sh /scripts/

ENV RUN_CHECK_WITH_PARALLEL_QUERIES 1

# NOTE(jieyouxu): CI rustc do not have rustc debug assertions at the moment!
ENV NO_DEBUG_ASSERTIONS 1

# Check library crates on all tier 1 targets.
# We disable optimized compiler built-ins because that requires a C toolchain for the target.
# We also skip the x86_64-unknown-linux-gnu target as it is well-tested by other jobs.
Expand Down

0 comments on commit ef5d82e

Please sign in to comment.