We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f414b1 commit b8473deCopy full SHA for b8473de
src/tools/compiletest/src/runtest.rs
@@ -1476,12 +1476,13 @@ impl<'test> TestCx<'test> {
1476
}
1477
1478
fn compose_and_run_compiler(&self, mut rustc: Command, input: Option<String>) -> ProcRes {
1479
+ let aux_dir = self.aux_output_dir_name();
1480
+
1481
if !self.props.aux_builds.is_empty() {
- create_dir_all(&self.aux_output_dir_name()).unwrap();
1482
+ let _ = fs::remove_dir_all(&aux_dir);
1483
+ create_dir_all(&aux_dir).unwrap();
1484
1485
- let aux_dir = self.aux_output_dir_name();
-
1486
for rel_ab in &self.props.aux_builds {
1487
let aux_testpaths = self.compute_aux_test_paths(rel_ab);
1488
let aux_props =
0 commit comments