Skip to content

Commit

Permalink
ci test
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel5151 committed Apr 30, 2023
1 parent 5fed446 commit 1f9f4c4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions example_no_std/dump_asm.sh
Expand Up @@ -13,8 +13,12 @@ cat ./target/release/deps/gdbstub_nostd-*.s | rustfilt > asm.s
sed -i -E '/\.(cfi_def_cfa_offset|cfi_offset|cfi_startproc|cfi_endproc|size)/d' asm.s
echo "asm emitted to asm.s"

cat asm.s

if grep "core::panicking::panic_fmt" asm.s
then
echo "found panic in example_no_std!"
exit 1
else
echo "no panics in example_no_std"
fi

0 comments on commit 1f9f4c4

Please sign in to comment.