rust/library/std
George Tokmaji 1e414f1fff Win: Use FILE_RENAME_FLAG_POSIX_SEMANTICS for std::fs::rename if available
Windows 10 1601 introduced `FileRenameInfoEx` as well as
`FILE_RENAME_FLAG_POSIX_SEMANTICS`, allowing for atomic renaming. If it
isn't supported, we fall back to `FileRenameInfo`.

This commit also replicates `MoveFileExW`'s behavior of checking whether
the source file is a mount point and moving the mount point instead of
resolving the target path.
2024-09-30 19:49:13 +02:00
..
benches Reformat use declarations. 2024-07-29 08:26:52 +10:00
src Win: Use FILE_RENAME_FLAG_POSIX_SEMANTICS for std::fs::rename if available 2024-09-30 19:49:13 +02:00
tests Add test for available_parallelism() 2024-09-22 23:46:08 +01:00
build.rs Enable f16 on platforms that were missing conversion symbols 2024-09-27 18:15:02 -04:00
Cargo.toml Update compiler_builtins to 0.1.130 2024-09-28 11:25:47 -04:00