We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8b6898 commit b964b00Copy full SHA for b964b00
src/ci/docker/scripts/x86_64-gnu-llvm.sh
@@ -6,10 +6,15 @@ set -ex
6
if [[ -z "${PR_CI_JOB}" ]]; then
7
# When running gcc backend tests, we need to install `libgccjit` and to not run llvm codegen
8
# tests as it will fail them.
9
+ # The tests are run a second time with the size optimizations enabled.
10
if [[ "${ENABLE_GCC_CODEGEN}" == "1" ]]; then
11
../x.py --stage 1 test --skip src/tools/tidy --skip tests/codegen
12
+ ../x.py --stage 1 test --skip src/tools/tidy --skip tests/codegen \
13
+ --rustc-args "--cfg feature=\"optimize_for_size\""
14
else
15
../x.py --stage 1 test --skip src/tools/tidy
16
+ ../x.py --stage 1 test --skip src/tools/tidy --rustc-args \
17
+ "--cfg feature=\"optimize_for_size\""
18
fi
19
20
# Run the `mir-opt` tests again but this time for a 32-bit target.
0 commit comments