about summary refs log tree commit diff
path: root/compiler/rustc_passes/src/debugger_visualizer.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-08-22 22:51:03 +0000
committerbors <bors@rust-lang.org>2024-08-22 22:51:03 +0000
commitb5723af3457b9cd3795eeb97e9af2d34964854f2 (patch)
tree1e544ed6ef461fddb5a7726742641d8cb69a290e /compiler/rustc_passes/src/debugger_visualizer.rs
parenteff09483c67e6fc96c8098ba46dce476162754c5 (diff)
parent3957f3933904075a348eda68ae3d34f9f4914116 (diff)
downloadrust-b5723af3457b9cd3795eeb97e9af2d34964854f2.tar.gz
rust-b5723af3457b9cd3795eeb97e9af2d34964854f2.zip
Auto merge of #129413 - jieyouxu:revert-remove-dir-all, r=compiler-errors
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 https://github.com/rust-lang/rust/pull/129187#issuecomment-2304849757 `./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
Diffstat (limited to 'compiler/rustc_passes/src/debugger_visualizer.rs')
0 files changed, 0 insertions, 0 deletions