We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
--rustc-args
1 parent 837ff0b commit e7a851fCopy full SHA for e7a851f
src/ci/docker/scripts/x86_64-gnu-llvm.sh
@@ -18,9 +18,9 @@ if [[ -z "${PR_CI_JOB}" ]]; then
18
# compiler, and is sensitive to the addition of new flags.
19
../x.py --stage 1 test tests/ui-fulldeps
20
21
- # The tests are run a second time with the size optimizations enabled.
22
- ../x.py --stage 1 test library/std library/alloc library/core \
23
- --rustc-args "--cfg feature=\"optimize_for_size\""
+ # Rebuild the stdlib with the size optimizations enabled and run tests again.
+ RUSTFLAGS_NOT_BOOTSTRAP="--cfg feature=\"optimize_for_size\"" ../x.py --stage 1 test \
+ library/std library/alloc library/core
24
fi
25
26
# NOTE: intentionally uses all of `x.py`, `x`, and `x.ps1` to make sure they all work on Linux.
0 commit comments