fork/rust
git clone https://git.julia.blue/fork/rust
73528e339aa
1.40.0
1-include ../tools.mk 2 3# ignore-windows 4# ignore-macos 5# min-llvm-version 6.0 6# 7# This feature only works when the output object format is ELF so we ignore 8# macOS and Windows 9 10# check that the .stack_sizes section is generated 11all: 12 $(RUSTC) -C opt-level=3 -Z emit-stack-sizes --emit=obj foo.rs 13 size -A $(TMPDIR)/foo.o | $(CGREP) .stack_sizes