Disable no-stack-check test on Windows
This commit is contained in:
parent
441796831f
commit
bc3831b730
1 changed files with 6 additions and 0 deletions
|
|
@ -1,5 +1,6 @@
|
|||
-include ../tools.mk
|
||||
|
||||
ifndef IS_WINDOWS
|
||||
all:
|
||||
$(RUSTC) -O --emit asm attr.rs
|
||||
! grep -q morestack $(TMPDIR)/attr.s
|
||||
|
|
@ -7,3 +8,8 @@ all:
|
|||
grep -q morestack $(TMPDIR)/flag.s
|
||||
$(RUSTC) -O --emit asm -C no-stack-check flag.rs
|
||||
! grep -q morestack $(TMPDIR)/flag.s
|
||||
else
|
||||
# On Windows we use __chkstk and it only appears in functions with large allocations,
|
||||
# so this test wouldn't be reliable.
|
||||
all:
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue