diff options
| author | Antoni Boucher <bouanto@zoho.com> | 2025-07-13 16:14:50 -0400 |
|---|---|---|
| committer | Antoni Boucher <bouanto@zoho.com> | 2025-07-13 16:38:37 -0400 |
| commit | b0ab2bf68efae0b1ccaa2a1ed643083d94756bae (patch) | |
| tree | ed86e785c3300819d4028b8a4c314ffefe8e4a47 | |
| parent | b01bbe06cc2fea18957895f2722d687b00efcbd7 (diff) | |
| download | rust-b0ab2bf68efae0b1ccaa2a1ed643083d94756bae.tar.gz rust-b0ab2bf68efae0b1ccaa2a1ed643083d94756bae.zip | |
Fix LTO test
| -rw-r--r-- | .github/workflows/release.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1d8eaf9a141..b0c552751e3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -78,7 +78,7 @@ jobs: - name: Run tests run: | # FIXME(antoyo): we cannot enable LTO for stdarch tests currently because of some failing LTO tests using proc-macros. - echo -n 'lto = "fat"' >> build_system/build_sysroot/Cargo.toml + printf '[profile.release]\nlto = "fat"\n' >> build/build_sysroot/sysroot_src/library/sysroot/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 |
