rust/tests/run-make-fulldeps/error-writing-dependencies/Makefile
2023-01-11 09:32:08 +00:00

9 lines
286 B
Makefile

include ../tools.mk
all:
# Let's get a nice error message
$(BARE_RUSTC) foo.rs --emit dep-info --out-dir foo/bar/baz 2>&1 | \
$(CGREP) "error writing dependencies"
# Make sure the filename shows up
$(BARE_RUSTC) foo.rs --emit dep-info --out-dir foo/bar/baz 2>&1 | $(CGREP) "baz"