Skip to content

Commit 1d029f9

Browse files
committed
build rustc with 1CGU on x86_64-apple-darwin
1 parent 8cfaf70 commit 1d029f9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ jobs:
303303
- name: dist-x86_64-apple
304304
env:
305305
SCRIPT: "./x.py dist bootstrap --include-default-paths --host=x86_64-apple-darwin --target=x86_64-apple-darwin"
306-
RUST_CONFIGURE_ARGS: "--enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false --set rust.lto=thin"
306+
RUST_CONFIGURE_ARGS: "--enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false --set rust.lto=thin --set rust.codegen-units=1"
307307
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
308308
MACOSX_DEPLOYMENT_TARGET: 10.7
309309
SELECT_XCODE: /Applications/Xcode_13.4.1.app

src/ci/github-actions/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ jobs:
482482
- name: dist-x86_64-apple
483483
env:
484484
SCRIPT: ./x.py dist bootstrap --include-default-paths --host=x86_64-apple-darwin --target=x86_64-apple-darwin
485-
RUST_CONFIGURE_ARGS: --enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false --set rust.lto=thin
485+
RUST_CONFIGURE_ARGS: --enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false --set rust.lto=thin --set rust.codegen-units=1
486486
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
487487
MACOSX_DEPLOYMENT_TARGET: 10.7
488488
SELECT_XCODE: /Applications/Xcode_13.4.1.app

0 commit comments

Comments
 (0)