summaryrefslogtreecommitdiffstats
path: root/tests/run-make-fulldeps/std-core-cycle/Makefile
blob: 4f252863767903613fb5428a843b2960e06163ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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