fork/rust

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

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
321 B12 linesraw
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
10all:
11	$(RUSTC) -C opt-level=3 -Z emit-stack-sizes --emit=obj foo.rs
12	size -A $(TMPDIR)/foo.o | $(CGREP) .stack_sizes