blob: 1ab27397e3146bbafa134862eca203a4763c2a35 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
-include ../tools.mk
ifeq ($(findstring stage1,$(RUST_BUILD_STAGE)),stage1)
# ignore stage1
all:
else
all:
$(RUSTC) foo.rs
$(RUSTC) bar.rs --emit dep-info
grep "proc-macro source" $(TMPDIR)/bar.d && exit 1 || exit 0
endif
|