Skip to content

Commit bc3831b

Browse files
author
Keegan McAllister
committed
Disable no-stack-check test on Windows
1 parent 4417968 commit bc3831b

File tree

1 file changed

+6
-0
lines changed
  • src/test/run-make/no-stack-check

1 file changed

+6
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
-include ../tools.mk
22

3+
ifndef IS_WINDOWS
34
all:
45
$(RUSTC) -O --emit asm attr.rs
56
! grep -q morestack $(TMPDIR)/attr.s
67
$(RUSTC) -O --emit asm flag.rs
78
grep -q morestack $(TMPDIR)/flag.s
89
$(RUSTC) -O --emit asm -C no-stack-check flag.rs
910
! 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

Comments
 (0)