Skip to content

Commit bd0280a

Browse files
committed
compile aux_crates before compiling the test
1 parent 1beca83 commit bd0280a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/tools/compiletest/src/runtest.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1566,6 +1566,10 @@ impl<'test> TestCx<'test> {
15661566
build_auxiliary(self, rel_ab, &aux_dir);
15671567
}
15681568

1569+
for rel_ab in &self.props.aux_crates {
1570+
build_auxiliary(self, &rel_ab.value, &aux_dir);
1571+
}
1572+
15691573
rustc.envs(self.props.rustc_env.clone());
15701574
self.compose_and_run(
15711575
rustc,

0 commit comments

Comments
 (0)