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 7171 # FIXME(antoyo): we cannot enable LTO for stdarch tests currently because of some failing LTO tests using proc-macros.
7272 echo -n 'lto = "fat"' >> build_system/build_sysroot/Cargo.toml
7373 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" }
77
88[profile .dev ]
99lto = " thin"
10+
11+ [profile .release ]
12+ lto = " fat"
You can’t perform that action at this time.
0 commit comments