rust/tests/run-make/separate-link-fail/Makefile

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
240 B
Makefile
Raw Normal View History

include ../tools.mk
2022-04-02 10:26:39 -05:00
all:
echo 'fn main(){}' > $(TMPDIR)/main.rs
# Make sure that this fails
! $(RUSTC) -Z link-only $(TMPDIR)/main.rs 2> $(TMPDIR)/stderr.txt
$(CGREP) "The input does not look like a .rlink file" < $(TMPDIR)/stderr.txt