fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
355 B10 linesraw
1# only-linux
2#
3# This test ensures that `panic=abort` code (without `C-unwind`, that is) should not have any
4# unwinding related `.eh_frame` sections emitted.
5
6include ../tools.mk
7
8all:
9	$(RUSTC) foo.rs --crate-type=lib --emit=obj=$(TMPDIR)/foo.o -Cpanic=abort --edition 2021 -Z validate-mir
10	objdump --dwarf=frames $(TMPDIR)/foo.o | $(CGREP) -v 'DW_CFA'