Skip to content

Commit e44d493

Browse files
committed
Correctly embed the bitcode when compiling the sysroot
1 parent 784f11d commit e44d493

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,7 @@ jobs:
7575
- name: Run tests
7676
run: |
7777
# FIXME(antoyo): we cannot enable LTO for stdarch tests currently because of some failing LTO tests using proc-macros.
78-
# FIXME(antoyo): this should probably not be needed since we embed the LTO bitcode.
79-
printf '[profile.release]\nlto = "fat"\n' >> build/build_sysroot/sysroot_src/library/Cargo.toml
80-
./y.sh test --release --clean --release-sysroot --build-sysroot --keep-lto-tests ${{ matrix.commands }}
78+
CG_RUSTFLAGS="-Cembed-bitcode=yes" ./y.sh test --release --clean --release-sysroot --build-sysroot --keep-lto-tests ${{ matrix.commands }}
8179
8280
- name: LTO test
8381
run: |

0 commit comments

Comments
 (0)