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 7bc6701 commit 220e322Copy full SHA for 220e322
.github/workflows/release.yml
@@ -76,4 +76,10 @@ jobs:
76
- name: Run y.sh cargo build
77
run: |
78
EMBED_LTO_BITCODE=1 CHANNEL="release" ./y.sh cargo build --release --manifest-path tests/hello-world/Cargo.toml
79
- # TODO: grep the asm output for "call my_func" and fail if it is found.
+ asm=$(objdump -dj .text tests/hello-world/target/debug/hello_world)
80
+ if echo asm | grep -q "call .*mylib.*my_func" ; then
81
+ echo "call my_func found in asm"
82
+ exit 1
83
+ else
84
+ echo "success"
85
+ fi
0 commit comments