Skip to content

Commit 517c0d0

Browse files
committed
Try LTO for Windows
1 parent cf577f3 commit 517c0d0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ci/github-actions/jobs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ envs:
8383
# - not running `opt-dist`'s post-optimization smoke tests on the resulting toolchain
8484
#
8585
# If you *want* these to happen however, temporarily uncomment it before triggering a try build.
86-
DIST_TRY_BUILD: 1
86+
# DIST_TRY_BUILD: 1
8787

8888
auto:
8989
<<: *production
@@ -554,6 +554,7 @@ auto:
554554
--enable-full-tools
555555
--enable-profiler
556556
--set rust.codegen-units=1
557+
--set rust.lto=thin
557558
SCRIPT: python x.py build --set rust.debug=true opt-dist && PGO_HOST=x86_64-pc-windows-msvc ./build/x86_64-pc-windows-msvc/stage0-tools-bin/opt-dist windows-ci -- python x.py dist bootstrap --include-default-paths
558559
DIST_REQUIRE_ALL_TOOLS: 1
559560
CODEGEN_BACKENDS: llvm,cranelift

0 commit comments

Comments
 (0)