about summary refs log tree commit diff
path: root/tests/coverage/branch/lazy-boolean.rs
diff options
context:
space:
mode:
authorGeorge Tokmaji <tokmajigeorge@gmail.com>2024-09-30 19:12:05 +0200
committerGeorge Tokmaji <tokmajigeorge@gmail.com>2024-09-30 19:49:13 +0200
commit1e414f1ffff517902979ebde83c8a3be97cc3822 (patch)
tree468f4b05f08a04a413dcf3272d838065197f8cd6 /tests/coverage/branch/lazy-boolean.rs
parented04567ba1d5956d1080fb8121caa005ce059e12 (diff)
downloadrust-1e414f1ffff517902979ebde83c8a3be97cc3822.tar.gz
rust-1e414f1ffff517902979ebde83c8a3be97cc3822.zip
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.
Diffstat (limited to 'tests/coverage/branch/lazy-boolean.rs')
0 files changed, 0 insertions, 0 deletions