mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
433da1fc04
They pass fine.
10 lines
302 B
Makefile
10 lines
302 B
Makefile
include ../tools.mk
|
|
|
|
all:
|
|
$(RUSTC) --crate-type=rlib crateA.rs
|
|
$(RUSTC) --crate-type=rlib crateB.rs
|
|
$(call REMOVE_RLIBS,crateA)
|
|
# Ensure crateC fails to compile since dependency crateA is missing
|
|
$(RUSTC) crateC.rs 2>&1 | \
|
|
$(CGREP) 'can'"'"'t find crate for `crateA` which `crateB` depends on'
|