blob: 604fc4688f5321919a5f176763926733a7c55e69 [file] [log] [blame]
-include ../tools.mk
# ignore-windows
# ignore-macos
# min-llvm-version 6.0
#
# This feature only works when the output object format is ELF so we ignore
# macOS and Windows
# check that the .stack_sizes section is generated
all:
$(RUSTC) -C opt-level=3 -Z emit-stack-sizes --emit=obj foo.rs
size -A $(TMPDIR)/foo.o | $(CGREP) .stack_sizes