2 ms·
Notably Rust's standard library does allow deleting files it opens by default. https://github.com/rust-lang/rust/blob/735bb7e5df185cc24e56533abd0bbab510931f6f/l
by ChrisSD 3y ago
Notably Rust's standard library does allow deleting files it opens by default. https://github.com/rust-lang/rust/blob/735bb7e5df185cc24e56533abd0bbab510931f6f/library/std/src/sys/windows/fs.rs#L190C19-L190C19 https://github.com/rust-lang/rust/blob/735bb7e5df185cc24e565...
While full Unix-like behaviour is only available on Windows 10 for the past five or so years, you can still have the old win32 behaviour on older systems (delete once the last file handle is closed).