Don't run test on darwin

This commit is contained in:
Alex Crichton 2017-03-01 08:08:53 -08:00
parent e77f8568f6
commit 55dab70f7a

View File

@ -1,9 +1,13 @@
-include ../tools.mk
# Test for #39529.
# Test for #39529.
# `-z text` causes ld to error if there are any non-PIC sections
ifeq ($(UNAME),Darwin)
all:
else ifdef IS_WINDOWS
all:
else
all:
ifndef IS_WINDOWS
$(RUSTC) hello.rs -C link-args=-Wl,-z,text
endif