diff options
| author | Antoni Boucher <bouanto@zoho.com> | 2025-07-16 09:33:08 -0400 |
|---|---|---|
| committer | Antoni Boucher <bouanto@zoho.com> | 2025-07-16 09:33:36 -0400 |
| commit | ecd958f4802bfead8a35a1fcdbb1c17467ad727c (patch) | |
| tree | 04b8f8638e5cc718bde7ebfec3067e3d109a7e3d | |
| parent | 83fbcabd92dd62198a1275d0d5cf7925150d1d6a (diff) | |
| download | rust-ecd958f4802bfead8a35a1fcdbb1c17467ad727c.tar.gz rust-ecd958f4802bfead8a35a1fcdbb1c17467ad727c.zip | |
Fix LTO errors
| -rw-r--r-- | .github/workflows/release.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b0c552751e3..b7e2583aad3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -78,7 +78,8 @@ jobs: - name: Run tests run: | # FIXME(antoyo): we cannot enable LTO for stdarch tests currently because of some failing LTO tests using proc-macros. - printf '[profile.release]\nlto = "fat"\n' >> build/build_sysroot/sysroot_src/library/sysroot/Cargo.toml + # FIXME(antoyo): this should probably not be needed since we embed the LTO bitcode. + printf '[profile.release]\nlto = "fat"\n' >> build/build_sysroot/sysroot_src/library/Cargo.toml EMBED_LTO_BITCODE=1 ./y.sh test --release --clean --release-sysroot --build-sysroot --keep-lto-tests ${{ matrix.commands }} - name: Run y.sh cargo build |
