enable ThinLTO for rustc on x86_64-pc-windows-msvc dist builds · rust-lang/rust@684663e (original) (raw)

Original file line number Diff line number Diff line change
@@ -423,7 +423,7 @@ jobs:
423 423 os: windows-latest-xl
424 424 - name: dist-x86_64-msvc
425 425 env:
426 -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"
426 +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"
427 427 SCRIPT: PGO_HOST=x86_64-pc-windows-msvc src/ci/pgo.sh python x.py dist bootstrap --include-default-paths
428 428 DIST_REQUIRE_ALL_TOOLS: 1
429 429 os: windows-latest-xl