]> git.lizzy.rs Git - rust.git/blob - tests/run-make/rustc-macro-dep-files/Makefile
Rollup merge of #106446 - bzEq:fix-unwind-lsda, r=Amanieu
[rust.git] / tests / 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