Skip to content

Commit

Permalink
CI: set NO_DEBUG_ASSERTIONS for x86_64-gnu-tools
Browse files Browse the repository at this point in the history
CI alt rustc builds do not have rustc debug assertions currently.
  • Loading branch information
jieyouxu committed Nov 17, 2024
1 parent 10e9fe2 commit 4fd0d92
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/ci/docker/host-x86_64/x86_64-gnu-tools/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,17 @@ ENV PATH="/node/bin:${PATH}"
COPY host-x86_64/x86_64-gnu-tools/browser-ui-test.version /tmp/

ENV RUST_CONFIGURE_ARGS \
--set rust.debug-assertions=false \
--build=x86_64-unknown-linux-gnu \
--save-toolstates=/tmp/toolstate/toolstates.json \
--enable-new-symbol-mangling

ENV HOST_TARGET x86_64-unknown-linux-gnu

# NOTE(jieyouxu): currently rustc alt builds do *not* have rustc debug
# assertions enabled! Since this job apparently needs to force CI rustc, then we
# cannot set rustc debug assertions.
ENV NO_DEBUG_ASSERTIONS 1
ENV FORCE_CI_RUSTC 1

COPY host-x86_64/dist-x86_64-linux/shared.sh /scripts/
Expand Down

0 comments on commit 4fd0d92

Please sign in to comment.