rust/tests/run-make/dump-mono-stats/Makefile
2023-01-11 09:32:08 +00:00

6 lines
201 B
Makefile

include ../../run-make-fulldeps/tools.mk
all:
$(RUSTC) --crate-type lib foo.rs -Z dump-mono-stats=$(TMPDIR) -Zdump-mono-stats-format=json
cat $(TMPDIR)/foo.mono_items.json | $(CGREP) '"name":"bar"'