]> git.lizzy.rs Git - rust.git/blob - src/test/run-make-fulldeps/separate-link-fail/Makefile
Rollup merge of #95534 - jyn514:std-mem-copy, r=joshtriplett
[rust.git] / src / test / run-make-fulldeps / separate-link-fail / Makefile
1 -include ../tools.mk
2
3 all:
4         echo 'fn main(){}' > $(TMPDIR)/main.rs
5         # Make sure that this fails
6         ! $(RUSTC) -Z link-only $(TMPDIR)/main.rs 2> $(TMPDIR)/stderr.txt
7         $(CGREP) "The input does not look like a .rlink file" < $(TMPDIR)/stderr.txt