fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
376 B16 linesraw
1# ignore-cross-compile
2include ../tools.mk
3
4# Test that -A warnings makes the 'empty trait list for derive' warning go away
5DEP=$(shell $(RUSTC) bar.rs)
6OUT=$(shell $(RUSTC) foo.rs -A warnings 2>&1 | grep "warning" )
7
8all: foo bar
9	test -z '$(OUT)'
10
11# These are just to ensure that the above commands actually work
12bar:
13	$(RUSTC) bar.rs
14
15foo: bar
16	$(RUSTC) foo.rs -A warnings