]> git.proxmox.com Git - rustc.git/blob - src/test/run-make/lto-syntax-extension/Makefile
Imported Upstream version 1.2.0+dfsg1
[rustc.git] / src / test / run-make / lto-syntax-extension / Makefile
1 -include ../tools.mk
2
3 # This test attempts to use syntax extensions, which are known to be
4 # incompatible with stage1 at the moment.
5
6 ifeq ($(RUST_BUILD_STAGE),1)
7 DOTEST=
8 else
9 DOTEST=dotest
10 endif
11
12 all: $(DOTEST)
13
14 dotest:
15 env
16 $(RUSTC) lib.rs
17 $(RUSTC) main.rs -C lto
18 $(call RUN,main)