]> git.lizzy.rs Git - rust.git/blob - tests/run-make/track-path-dep-info/Makefile
Rollup merge of #106717 - klensy:typo, r=lcnr
[rust.git] / tests / run-make / track-path-dep-info / 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
9 all:
10         # Proc macro
11         $(BARE_RUSTC) $(ADDITIONAL_ARGS) --out-dir $(TMPDIR) macro_def.rs
12         EXISTING_PROC_MACRO_ENV=1 $(RUSTC) --emit dep-info macro_use.rs
13         $(CGREP) "emojis.txt:" < $(TMPDIR)/macro_use.d