Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 359c9af

Browse files
committedMar 13, 2025·
Auto merge of rust-lang#128947 - Zoxc:thinlto-msvc, r=<try>
Perform ThinLTO on x86_64-pc-windows-msvc dist builder This reenables ThinLTO on x86_64-pc-windows-msvc. Depends on rust-lang#122790 try-job: dist-x86_64-msvc
2 parents 93257e2 + a832199 commit 359c9af

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎src/ci/github-actions/jobs.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ envs:
9090
# - not running `opt-dist`'s post-optimization smoke tests on the resulting toolchain
9191
#
9292
# If you *want* these to happen however, temporarily comment it before triggering a try build.
93-
DIST_TRY_BUILD: 1
93+
#DIST_TRY_BUILD: 1
9494

9595
auto:
9696
<<: *production
@@ -581,6 +581,8 @@ auto:
581581
--enable-full-tools
582582
--enable-profiler
583583
--set rust.codegen-units=1
584+
--set rust.lto=thin
585+
--set rust.debuginfo-level=1
584586
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
585587
DIST_REQUIRE_ALL_TOOLS: 1
586588
CODEGEN_BACKENDS: llvm,cranelift

0 commit comments

Comments
 (0)
Please sign in to comment.