Skip to content

Commit b0ab2bf

Browse files
committed
Fix LTO test
1 parent b01bbe0 commit b0ab2bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
- name: Run tests
7979
run: |
8080
# FIXME(antoyo): we cannot enable LTO for stdarch tests currently because of some failing LTO tests using proc-macros.
81-
echo -n 'lto = "fat"' >> build_system/build_sysroot/Cargo.toml
81+
printf '[profile.release]\nlto = "fat"\n' >> build/build_sysroot/sysroot_src/library/sysroot/Cargo.toml
8282
EMBED_LTO_BITCODE=1 ./y.sh test --release --clean --release-sysroot --build-sysroot --keep-lto-tests ${{ matrix.commands }}
8383
8484
- name: Run y.sh cargo build

0 commit comments

Comments
 (0)