fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
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