summaryrefslogtreecommitdiffstats
path: root/tests/run-make/std-core-cycle/Makefile
blob: 5ed6be905dffa2acbcae054e8e99ab668f7ceb84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# ignore-cross-compile
include ../tools.mk

ifeq ($(UNAME),Darwin)
FLAGS :=
else
ifdef IS_WINDOWS
FLAGS :=
else
FLAGS := -C link-args=-Wl,--no-undefined
endif
endif

all:
	$(RUSTC) bar.rs
	$(RUSTC) foo.rs $(FLAGS)
	$(RUSTC) foo.rs $(FLAGS) -C panic=abort