mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
433da1fc04
They pass fine.
8 lines
240 B
Makefile
8 lines
240 B
Makefile
include ../tools.mk
|
|
|
|
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
|