Skip to content

Commit 8fabeef

Browse files
committed
Auto merge of #133747 - lqd:osx-aarch64-1cgu, r=<try>
build `rustc` with 1 CGU on `aarch64-apple-darwin` Distribute `aarch64-apple-darwin` artifacts built with `rust.codegen-units=1`, like we already do on Linux/Windows/macOS Intel. 1. Performance results (only wall-time on mac as usual) - I only did some `ripgrep` check builds (the revision from rustc-perf), because we had noticeable wins in wall-time there back then on linux. It's a ~2-4% (mostly 3%) improvement on local builds, and will re-check with CI artifacts once they're available. 2. Effects on code size on `aarch64-apple-darwin`: - before: TODO, 165MB or so - after: TODO, 142MB or so 3. Effects on CI - TODO r? `@ghost` try-job: dist-aarch64-apple
2 parents bd36e69 + 70e0d58 commit 8fabeef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ci/github-actions/jobs.yml

+1
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,7 @@ auto:
338338
--set rust.jemalloc
339339
--set llvm.ninja=false
340340
--set rust.lto=thin
341+
--set rust.codegen-units=1
341342
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
342343
SELECT_XCODE: /Applications/Xcode_15.4.app
343344
USE_XCODE_CLANG: 1

0 commit comments

Comments
 (0)