]>
git.proxmox.com Git - rustc.git/blob - src/test/run-make/no-stack-check/Makefile
6 SKIP_OS
:= 'OpenBSD Bitrig'
7 ifneq ($(UNAME
),$(findstring $(UNAME
),$(SKIP_OS
)))
10 $(RUSTC
) -O
--emit asm attr.rs
11 ! grep
-q morestack
$(TMPDIR
)/attr.s
12 $(RUSTC
) -O
--emit asm flag.rs
13 grep
-q morestack
$(TMPDIR
)/flag.s
14 $(RUSTC
) -O
--emit asm
-C no-stack-check flag.rs
15 ! grep
-q morestack
$(TMPDIR
)/flag.s
17 # On Bitrig/OpenBSD, morestack isn't used as the segmented stacks are disabled
22 # On Windows we use __chkstk and it only appears in functions with large allocations,
23 # so this test wouldn't be reliable.