mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-01 11:13:43 +00:00
433da1fc04
They pass fine.
13 lines
320 B
Makefile
13 lines
320 B
Makefile
include ../tools.mk
|
|
|
|
# ignore-windows
|
|
# ignore-macos
|
|
#
|
|
# 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
|