]>
Commit | Line | Data |
---|---|---|
f2b60f7d | 1 | include ../tools.mk |
1a4d82fc | 2 | |
c34b1796 | 3 | all: |
1a4d82fc JJ |
4 | $(RUSTC) --crate-type=rlib crateA.rs |
5 | $(RUSTC) --crate-type=rlib crateB.rs | |
6 | $(call REMOVE_RLIBS,crateA) | |
7 | # Ensure crateC fails to compile since dependency crateA is missing | |
8 | $(RUSTC) crateC.rs 2>&1 | \ | |
ff7c6d11 | 9 | $(CGREP) 'can'"'"'t find crate for `crateA` which `crateB` depends on' |