I’m looking for somebody to fix a long-standing bug in the tempdir crate, and publish an improved remove_dir_all
function to crates.io in the process.
The issue is that the std remove_dir_all doesn’t work correctly on windows:
https://github.com/rust-lang/rust/issues/29497
This hasn’t been fixed in-tree, where PRs get a lot of scrutiny, but it affects real code, and I open code a bad remove_dir_all myself anytime I need to remove_dir_all. In the meantime, tempdir, a popular crate with a desperate need to remove dirs, is affected by this bug.
There’s a PR open to fix tempdir:
https://github.com/rust-lang-nursery/tempdir/pull/17#issuecomment-285835625
But it is stalled. Here are my comments about what needs to happen next:
https://github.com/rust-lang-nursery/tempdir/issues/15#issuecomment-286513675
That last issue is probably the one to link from twir.