]> git.lizzy.rs Git - rust.git/blob - src/test/run-make/rustc-macro-dep-files/Makefile
Merge remote-tracking branch 'origin/master' into azure-pipelines
[rust.git] / src / test / run-make / rustc-macro-dep-files / Makefile
1 -include ../../run-make-fulldeps/tools.mk
2
3 # FIXME(eddyb) provide `HOST_RUSTC` and `TARGET_RUSTC`
4 # instead of hardcoding them everywhere they're needed.
5 ifeq ($(IS_MUSL_HOST),1)
6 ADDITIONAL_ARGS := $(RUSTFLAGS)
7 endif
8 all:
9         $(BARE_RUSTC) $(ADDITIONAL_ARGS) foo.rs --out-dir $(TMPDIR)
10         $(RUSTC) bar.rs --target $(TARGET) --emit dep-info
11         $(CGREP) -v "proc-macro source" < $(TMPDIR)/bar.d