enable ThinLTO for rustc on x86_64-apple-darwin dist builds · rust-lang/rust@3a085f7 (original) (raw)

2 files changed

lines changed

Original file line number Diff line number Diff line change
@@ -298,7 +298,7 @@ jobs:
298 298 - name: dist-x86_64-apple
299 299 env:
300 300 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"
302 302 RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
303 303 MACOSX_DEPLOYMENT_TARGET: 10.7
304 304 NO_LLVM_ASSERTIONS: 1
Original file line number Diff line number Diff line change
@@ -463,7 +463,7 @@ jobs:
463 463 - name: dist-x86_64-apple
464 464 env:
465 465 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
467 467 RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
468 468 MACOSX_DEPLOYMENT_TARGET: 10.7
469 469 NO_LLVM_ASSERTIONS: 1