Skip to content

Commit b36fa70

Browse files
committed
build rustc with 1CGU on x86_64-apple-darwin
1 parent c7beecf commit b36fa70

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ jobs:
333333
- name: dist-x86_64-apple
334334
env:
335335
SCRIPT: "./x.py dist bootstrap --include-default-paths --host=x86_64-apple-darwin --target=x86_64-apple-darwin"
336-
RUST_CONFIGURE_ARGS: "--enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set rust.lto=thin"
336+
RUST_CONFIGURE_ARGS: "--enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set rust.lto=thin --set rust.codegen-units=1"
337337
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
338338
MACOSX_DEPLOYMENT_TARGET: 10.12
339339
SELECT_XCODE: /Applications/Xcode_14.3.1.app

src/ci/github-actions/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ jobs:
535535
- name: dist-x86_64-apple
536536
env:
537537
SCRIPT: ./x.py dist bootstrap --include-default-paths --host=x86_64-apple-darwin --target=x86_64-apple-darwin
538-
RUST_CONFIGURE_ARGS: --enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set rust.lto=thin
538+
RUST_CONFIGURE_ARGS: --enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set rust.lto=thin --set rust.codegen-units=1
539539
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
540540
MACOSX_DEPLOYMENT_TARGET: 10.12
541541
SELECT_XCODE: /Applications/Xcode_14.3.1.app

0 commit comments

Comments
 (0)