From bb8637fa2021d6d023593ea1a2d377efd654f3a1 Mon Sep 17 00:00:00 2001 From: Redfire Date: Tue, 8 Oct 2024 15:20:30 +0800 Subject: [PATCH] Added Cross-Language LTO to MacOS CI --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bc249b03..6dcabdfb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -74,12 +74,12 @@ jobs: - name: Build MacOS if: matrix.os == 'macos' env: - MOZ_LTO: full + MOZ_LTO: full,cross CFLAGS: -flto CPPFLAGS: -flto CXXFLAGS: -flto LDFLAGS: -flto - RUSTFLAGS: -Clinker-plugin-lto + RUSTFLAGS: -Clinker-plugin-lto -Clink-arg=-flto run: | just build-release -v --locked --target $TARGET mv ./target/$TARGET/release/cli ./target/$TARGET/release/spiderfire