]> git.lizzy.rs Git - rust.git/commitdiff
enable ThinLTO for rustc on x86_64-apple-darwin dist builds
authorRémy Rakic <remy.rakic+github@gmail.com>
Wed, 26 Oct 2022 18:06:52 +0000 (18:06 +0000)
committerRémy Rakic <remy.rakic+github@gmail.com>
Thu, 27 Oct 2022 17:51:18 +0000 (17:51 +0000)
.github/workflows/ci.yml
src/ci/github-actions/ci.yml

index 771cef6e4d0d630bd5e1f0b58b14e5845bb2b8c5..e39f71cdb82c93006cd3f1d01c96f7e280e3e27d 100644 (file)
@@ -298,7 +298,7 @@ jobs:
           - name: dist-x86_64-apple
             env:
               SCRIPT: "./x.py dist bootstrap --include-default-paths --host=x86_64-apple-darwin --target=x86_64-apple-darwin"
-              RUST_CONFIGURE_ARGS: "--enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false"
+              RUST_CONFIGURE_ARGS: "--enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false --set rust.lto=thin"
               RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
               MACOSX_DEPLOYMENT_TARGET: 10.7
               NO_LLVM_ASSERTIONS: 1
index 9f401779900800143217a470819e7936e3e72943..ecc6887dad8d44b3beb716666f5f2cff6cb592c4 100644 (file)
@@ -463,7 +463,7 @@ jobs:
           - name: dist-x86_64-apple
             env:
               SCRIPT: ./x.py dist bootstrap --include-default-paths --host=x86_64-apple-darwin --target=x86_64-apple-darwin
-              RUST_CONFIGURE_ARGS: --enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false
+              RUST_CONFIGURE_ARGS: --enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false --set rust.lto=thin
               RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
               MACOSX_DEPLOYMENT_TARGET: 10.7
               NO_LLVM_ASSERTIONS: 1