fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
386 B11 linesraw
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.
5ifeq ($(IS_MUSL_HOST),1)
6ADDITIONAL_ARGS := $(RUSTFLAGS)
7endif
8all:
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