mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 00:34:06 +00:00
433da1fc04
They pass fine.
9 lines
267 B
Makefile
9 lines
267 B
Makefile
include ../tools.mk
|
|
|
|
all:
|
|
mkdir -p $(TMPDIR)/a $(TMPDIR)/b
|
|
$(RUSTC) a.rs && mv $(TMPDIR)/liba.rlib $(TMPDIR)/a
|
|
$(RUSTC) b.rs -L $(TMPDIR)/a && mv $(TMPDIR)/libb.rlib $(TMPDIR)/b
|
|
$(RUSTC) c.rs -L crate=$(TMPDIR)/b -L dependency=$(TMPDIR)/a \
|
|
&& exit 1 || exit 0
|