fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1include ../tools.mk 2 3# FIXME(eddyb) provide `HOST_RUSTC` and `TARGET_RUSTC` 4# instead of hardcoding them everywhere they're needed. 5ifeq ($(IS_MUSL_HOST),1) 6ADDITIONAL_ARGS := $(RUSTFLAGS) 7endif 8 9all: 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