Revert "Fix LTO tests"

This reverts commit 2d123d08c9.
This commit is contained in:
Antoni Boucher 2024-07-05 11:35:16 -04:00
parent 2d123d08c9
commit bc8520d98e
8 changed files with 33 additions and 21 deletions

View file

@ -53,7 +53,7 @@ jobs:
- name: Build
run: |
./y.sh prepare --only-libcore
./y.sh build --sysroot --release --release-sysroot
EMBED_LTO_BITCODE=1 ./y.sh build --sysroot --release --release-sysroot
cargo test
./y.sh clean all
@ -70,4 +70,4 @@ jobs:
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
./y.sh test --release --clean --release-sysroot --build-sysroot ${{ matrix.commands }}
EMBED_LTO_BITCODE=1 ./y.sh test --release --clean --release-sysroot --build-sysroot ${{ matrix.commands }}