Skip to content

Commit 3a085f7

Browse files
committed
enable ThinLTO for rustc on x86_64-apple-darwin dist builds
1 parent 0da281b commit 3a085f7

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
@@ -298,7 +298,7 @@ jobs:
298298
- name: dist-x86_64-apple
299299
env:
300300
SCRIPT: "./x.py dist bootstrap --include-default-paths --host=x86_64-apple-darwin --target=x86_64-apple-darwin"
301-
RUST_CONFIGURE_ARGS: "--enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false"
301+
RUST_CONFIGURE_ARGS: "--enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false --set rust.lto=thin"
302302
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
303303
MACOSX_DEPLOYMENT_TARGET: 10.7
304304
NO_LLVM_ASSERTIONS: 1

src/ci/github-actions/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ jobs:
463463
- name: dist-x86_64-apple
464464
env:
465465
SCRIPT: ./x.py dist bootstrap --include-default-paths --host=x86_64-apple-darwin --target=x86_64-apple-darwin
466-
RUST_CONFIGURE_ARGS: --enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false
466+
RUST_CONFIGURE_ARGS: --enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false --set rust.lto=thin
467467
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
468468
MACOSX_DEPLOYMENT_TARGET: 10.7
469469
NO_LLVM_ASSERTIONS: 1

0 commit comments

Comments
 (0)