Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions src/ci/docker/host-x86_64/x86_64-gnu-gcc/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,22 @@ ENV SCRIPT="python3 ../x.py \
--skip tests/rustdoc-json \
--skip tests/rustdoc-ui \
--set rust.codegen-backends=[\\\"llvm\\\",\\\"gcc\\\"]"

# Build sysroot with gcc backend and run libcore tests in stage 1.
# We need to disable optimizations because of https://github.com/rust-lang/rustc_codegen_gcc/issues/686
ENV RUST_CONFIGURE_ARGS="--build=x86_64-unknown-linux-gnu \
--enable-sanitizers \
--enable-profiler \
--enable-compiler-docs \
--set llvm.libzstd=true \
--set rust.optimize=false \
--set rust.optimize-tests=false \
--set rust.debug-assertions=false \
--set rust.codegen-backends=[\\\"gcc\\\"]"
ENV SCRIPT="python3 ../x.py \
--stage 1 \
test library/core \
--set rust.optimize=false \
--set rust.optimize-tests=false \
--set rust.debug-assertions=false \
--set rust.codegen-backends=[\\\"gcc\\\"]"
Loading