We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe608c7 commit 93f7f2fCopy full SHA for 93f7f2f
.github/workflows/release.yml
@@ -71,3 +71,8 @@ jobs:
71
# FIXME(antoyo): we cannot enable LTO for stdarch tests currently because of some failing LTO tests using proc-macros.
72
echo -n 'lto = "fat"' >> build_system/build_sysroot/Cargo.toml
73
EMBED_LTO_BITCODE=1 ./y.sh test --release --clean --release-sysroot --build-sysroot --keep-lto-tests ${{ matrix.commands }}
74
+
75
+ - name: Run y.sh cargo build
76
+ run: |
77
+ EMBED_LTO_BITCODE=1 CHANNEL="release" ./y.sh cargo build --release --manifest-path tests/hello-world/Cargo.toml
78
+ # TODO: grep the asm output for "call my_func" and fail if it is found.
tests/hello-world/Cargo.toml
@@ -7,3 +7,6 @@ mylib = { path = "mylib" }
7
8
[profile.dev]
9
lto = "thin"
10
11
+[profile.release]
12
+lto = "fat"
0 commit comments