Skip to content

Commit 22f247c

Browse files
committed
Auto merge of rust-lang#109094 - Nilstrieb:no-thin-lto-on-windows, r=jyn514
Revert "enable ThinLTO for rustc on x86_64-pc-windows-msvc dist builds" This lead to a miscompilation in at least `char::is_whitespace` and probably in more unknown places..... See rust-lang#109067 This reverts commit 684663e, PR rust-lang#103591.
2 parents 8efa635 + 58884a3 commit 22f247c

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ jobs:
443443
os: windows-latest-xl
444444
- name: dist-x86_64-msvc
445445
env:
446-
RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-msvc --host=x86_64-pc-windows-msvc --target=x86_64-pc-windows-msvc --enable-full-tools --enable-profiler --set rust.lto=thin"
446+
RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-msvc --host=x86_64-pc-windows-msvc --target=x86_64-pc-windows-msvc --enable-full-tools --enable-profiler"
447447
SCRIPT: PGO_HOST=x86_64-pc-windows-msvc python src/ci/stage-build.py python x.py dist bootstrap --include-default-paths
448448
DIST_REQUIRE_ALL_TOOLS: 1
449449
os: windows-latest-xl

src/ci/github-actions/ci.yml

-1
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,6 @@ jobs:
673673
--target=x86_64-pc-windows-msvc
674674
--enable-full-tools
675675
--enable-profiler
676-
--set rust.lto=thin
677676
SCRIPT: PGO_HOST=x86_64-pc-windows-msvc python src/ci/stage-build.py python x.py dist bootstrap --include-default-paths
678677
DIST_REQUIRE_ALL_TOOLS: 1
679678
<<: *job-windows-xl

0 commit comments

Comments
 (0)