Skip to content

Commit 32d99ef

Browse files
committed
Ignore test on Windows
1 parent b58e19d commit 32d99ef

File tree

1 file changed

+6
-1
lines changed
  • src/test/run-make-fulldeps/redundant-libs

1 file changed

+6
-1
lines changed

src/test/run-make-fulldeps/redundant-libs/Makefile

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
-include ../tools.mk
22

3+
ifdef IS_WINDOWS
4+
all:
5+
else
6+
37
# rustc will remove one of the two redundant references to foo below. Depending
48
# on which one gets removed, we'll get a linker error on SOME platforms (like
59
# Linux). On these platforms, when a library is referenced, the linker will
@@ -10,7 +14,6 @@
1014
# So in this example, we need to ensure that rustc keeps the _later_ reference
1115
# to foo, and not the former one.
1216
RUSTC_FLAGS = \
13-
-C prefer-dynamic \
1417
-l static=bar \
1518
-l foo \
1619
-l static=baz \
@@ -20,3 +23,5 @@ RUSTC_FLAGS = \
2023
all: $(call DYLIB,foo) $(call STATICLIB,bar) $(call STATICLIB,baz)
2124
$(RUSTC) $(RUSTC_FLAGS) main.rs
2225
$(call RUN,main)
26+
27+
endif

0 commit comments

Comments
 (0)