Rollup merge of #98564 - jyn514:remove-tmp-dir, r=Mark-Simulacrum

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.

Fixes https://github.com/rust-lang/rust/issues/34586.
This commit is contained in:
Matthias Krüger 2022-06-28 18:34:28 +02:00 committed by GitHub
commit 6cb46ca382
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 7 deletions

2
.gitignore vendored
View File

@ -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/

View File

@ -351,11 +351,6 @@ pub fn opt_str2(maybestr: Option<String>) -> 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.