]> git.lizzy.rs Git - rust.git/blob - tests/run-make-fulldeps/missing-crate-dependency/Makefile
Auto merge of #101138 - Rejyr:diagnostic-migration-rustc-lint-pt2, r=davidtwco
[rust.git] / tests / run-make-fulldeps / missing-crate-dependency / Makefile
1 include ../tools.mk
2
3 all:
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 | \
9                 $(CGREP) 'can'"'"'t find crate for `crateA` which `crateB` depends on'