File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 71
71
# FIXME(antoyo): we cannot enable LTO for stdarch tests currently because of some failing LTO tests using proc-macros.
72
72
echo -n 'lto = "fat"' >> build_system/build_sysroot/Cargo.toml
73
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.
Original file line number Diff line number Diff line change @@ -7,3 +7,6 @@ mylib = { path = "mylib" }
7
7
8
8
[profile .dev ]
9
9
lto = " thin"
10
+
11
+ [profile .release ]
12
+ lto = " fat"
You can’t perform that action at this time.
0 commit comments