We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4417968 commit bc3831bCopy full SHA for bc3831b
src/test/run-make/no-stack-check/Makefile
@@ -1,9 +1,15 @@
1
-include ../tools.mk
2
3
+ifndef IS_WINDOWS
4
all:
5
$(RUSTC) -O --emit asm attr.rs
6
! grep -q morestack $(TMPDIR)/attr.s
7
$(RUSTC) -O --emit asm flag.rs
8
grep -q morestack $(TMPDIR)/flag.s
9
$(RUSTC) -O --emit asm -C no-stack-check flag.rs
10
! grep -q morestack $(TMPDIR)/flag.s
11
+else
12
+# On Windows we use __chkstk and it only appears in functions with large allocations,
13
+# so this test wouldn't be reliable.
14
+all:
15
+endif
0 commit comments