• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1include ../tools.mk
2
3all:
4	$(RUSTC) main.rs -o main.rs 2> $(TMPDIR)/file.stderr || echo "failed successfully"
5	$(RUSTC) main.rs -o . 2> $(TMPDIR)/folder.stderr || echo "failed successfully"
6
7ifdef RUSTC_BLESS_TEST
8	cp "$(TMPDIR)"/file.stderr file.stderr
9	cp "$(TMPDIR)"/folder.stderr folder.stderr
10else
11	$(DIFF) file.stderr "$(TMPDIR)"/file.stderr
12	$(DIFF) folder.stderr "$(TMPDIR)"/folder.stderr
13endif
14