86 call_found=$(objdump -dj .text tests/hello-world/target/release/hello_world | grep -c "call .*mylib.*my_func" ) ||:
87 if [ $call_found -gt 0 ]; then
88▶ echo "ERROR: call my_func found in asm"
89 echo "Test is done with LTO enabled, hence inlining should occur across crates"
90 exit 1
· · ·
101 call_found=$(objdump -dj .text tests/cross_lang_lto/target/release/cross_lang_lto | grep -c "call .*my_add" ) ||:
102 if [ $call_found -gt 0 ]; then
103▶ echo "ERROR: call my_add found in asm"
104 echo "Test is done with cross-language LTO enabled, hence inlining should occur across object files"
105 exit 1