]> git.lizzy.rs Git - rust.git/blob - src/test/run-make-fulldeps/separate-link-fail/Makefile
Auto merge of #95519 - oli-obk:tait_ub2, r=compiler-errors
[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