File tree 1 file changed +2
-2
lines changed
src/test/run-make/many-crates-but-no-match
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 20
20
mkdir -p $(A1 ) $(A2 ) $(A3 )
21
21
$(RUSTC ) --crate-type=rlib crateA1.rs
22
22
mv $(TMPDIR ) /$(call RLIB_GLOB,crateA) $(A1 )
23
- $(RUSTC ) --crate-type=rlib -L$(A1 ) crateB.rs
23
+ $(RUSTC ) --crate-type=rlib -L $(A1 ) crateB.rs
24
24
$(RUSTC ) --crate-type=rlib crateA2.rs
25
25
mv $(TMPDIR ) /$(call RLIB_GLOB,crateA) $(A2 )
26
26
$(RUSTC ) --crate-type=rlib crateA3.rs
27
27
mv $(TMPDIR ) /$(call RLIB_GLOB,crateA) $(A3 )
28
28
# Ensure crateC fails to compile since A1 is "missing" and A2/A3 hashes do not match
29
- $(RUSTC ) -L$(A2 ) -L$(A3 ) crateC.rs > $(LOG ) 2>&1 || true
29
+ $(RUSTC ) -L $(A2 ) -L $(A3 ) crateC.rs > $(LOG ) 2>&1 || true
30
30
grep " error: found possibly newer version of crate \` crateA\` which \` crateB\` depends on" $(LOG )
31
31
grep " note: perhaps this crate needs to be recompiled?" $(LOG )
32
32
grep " note: crate \` crateA\` path #1:" $(LOG )
You can’t perform that action at this time.
0 commit comments