]> git.lizzy.rs Git - rust.git/blob - src/test/run-make/extern-fn-with-union/Makefile
librustc: Make sure to add argument attributes to extern fns from non-local crates.
[rust.git] / src / test / run-make / extern-fn-with-union / Makefile
1 -include ../tools.mk
2
3 all:
4         $(CC) -std=c99 test.c -c -o $(TMPDIR)/test.o
5         $(AR) rcs $(TMPDIR)/libtest.a $(TMPDIR)/test.o
6         $(RUSTC) testcrate.rs -L $(TMPDIR)
7         $(RUSTC) test.rs -L $(TMPDIR)
8         $(call RUN,test) || exit 1