From d16187c47f023601b74e41550e7e36058baa02c4 Mon Sep 17 00:00:00 2001 From: Joshua Nelson Date: Sun, 26 Jun 2022 23:25:12 -0500 Subject: Remove references to `./tmp` in-tree These used to be used by codegen-units tests, but were switched from manually specifying directories to just using `// incremental` in https://github.com/rust-lang/rust/pull/89101. Remove the old references. --- .gitignore | 2 -- src/tools/compiletest/src/main.rs | 5 ----- 2 files changed, 7 deletions(-) diff --git a/.gitignore b/.gitignore index ec6cb6ed2e4..a6625ac2ac4 100644 --- a/.gitignore +++ b/.gitignore @@ -46,8 +46,6 @@ no_llvm_build /unicode-downloads /target /src/tools/x/target -# Generated by compiletest for incremental -/tmp/ # Created by default with `src/ci/docker/run.sh` /obj/ diff --git a/src/tools/compiletest/src/main.rs b/src/tools/compiletest/src/main.rs index e23cccf6cd1..4e8e5afd4bb 100644 --- a/src/tools/compiletest/src/main.rs +++ b/src/tools/compiletest/src/main.rs @@ -351,11 +351,6 @@ pub fn opt_str2(maybestr: Option) -> String { } pub fn run_tests(config: Config) { - // FIXME(#33435) Avoid spurious failures in codegen-units/partitioning tests. - if let Mode::CodegenUnits = config.mode { - let _ = fs::remove_dir_all("tmp/partitioning-tests"); - } - // If we want to collect rustfix coverage information, // we first make sure that the coverage file does not exist. // It will be created later on. -- cgit v1.2.1