Skip to content

Commit 7d6969b

Browse files
committed
build rustc with 1CGU on x86_64-pc-windows-msvc
1 parent c7beecf commit 7d6969b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ jobs:
438438
os: windows-2019-8core-32gb
439439
- name: dist-x86_64-msvc
440440
env:
441-
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"
441+
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.codegen-units=1"
442442
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
443443
DIST_REQUIRE_ALL_TOOLS: 1
444444
os: windows-2019-8core-32gb

src/ci/github-actions/ci.yml

+1
Original file line numberDiff line numberDiff line change
@@ -687,6 +687,7 @@ jobs:
687687
--target=x86_64-pc-windows-msvc
688688
--enable-full-tools
689689
--enable-profiler
690+
--set rust.codegen-units=1
690691
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
691692
DIST_REQUIRE_ALL_TOOLS: 1
692693
<<: *job-windows-8c

0 commit comments

Comments
 (0)