File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -6,10 +6,15 @@ set -ex
66if [[ -z " ${PR_CI_JOB} " ]]; then
77 # When running gcc backend tests, we need to install `libgccjit` and to not run llvm codegen
88 # tests as it will fail them.
9+ # The tests are run a second time with the size optimizations enabled.
910 if [[ " ${ENABLE_GCC_CODEGEN} " == " 1" ]]; then
1011 ../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\" "
1114 else
1215 ../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\" "
1318 fi
1419
1520 # Run the `mir-opt` tests again but this time for a 32-bit target.
You can’t perform that action at this time.
0 commit comments