Skip to content

Commit

Permalink
Auto merge of #129413 - jieyouxu:revert-remove-dir-all, r=compiler-er…
Browse files Browse the repository at this point in the history
…rors

Revert #129187 and #129302

The two PRs naively switched to `std::fs::remove_dir_all`, but failed to gracefully handle the failure case where the top-level directory entry does not exist, causing rust-lang/rust#129187 (comment) `./x clean` to fail locally when `tmp` does not exist.

I plan to reland the two PRs with fixed top-level dir entry handling and more testing, but let's quickly revert to unblock people.

Reverts #129187.
Reverts #129302.

r? bootstrap
  • Loading branch information
bors committed Aug 22, 2024
2 parents 3bdd0b9 + e119ea7 commit 1d6fa6f
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 1d6fa6f

Please sign in to comment.