]> git.proxmox.com Git - rustc.git/blob - src/test/run-make-fulldeps/emit-stack-sizes/Makefile
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / run-make-fulldeps / emit-stack-sizes / Makefile
1 -include ../tools.mk
2
3 # ignore-windows
4 # ignore-macos
5 #
6 # This feature only works when the output object format is ELF so we ignore
7 # macOS and Windows
8
9 # check that the .stack_sizes section is generated
10 all:
11 $(RUSTC) -C opt-level=3 -Z emit-stack-sizes --emit=obj foo.rs
12 size -A $(TMPDIR)/foo.o | $(CGREP) .stack_sizes