about summary refs log tree commit diff
path: root/library/std/src/sys/fs/windows
diff options
context:
space:
mode:
authorChris Denton <chris@chrisdenton.dev>2025-04-04 16:41:40 +0000
committerChris Denton <chris@chrisdenton.dev>2025-04-04 16:41:40 +0000
commit8b12153e3557318900675a0ab3fe1581ecf9d9e2 (patch)
treeb79e441bdaf764555ba2194c008a24334f1c3ff9 /library/std/src/sys/fs/windows
parentb8ff7b682e0544de40a90bb9cbd2d21f479b4987 (diff)
downloadrust-8b12153e3557318900675a0ab3fe1581ecf9d9e2.tar.gz
rust-8b12153e3557318900675a0ab3fe1581ecf9d9e2.zip
Update windows-bindgen to 0.61.0
Diffstat (limited to 'library/std/src/sys/fs/windows')
-rw-r--r--library/std/src/sys/fs/windows/remove_dir_all.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sys/fs/windows/remove_dir_all.rs b/library/std/src/sys/fs/windows/remove_dir_all.rs
index f51eced8416..b213c49bcb0 100644
--- a/library/std/src/sys/fs/windows/remove_dir_all.rs
+++ b/library/std/src/sys/fs/windows/remove_dir_all.rs
@@ -95,7 +95,7 @@ fn open_link_no_reparse(
             ObjectName: &mut path_str,
             RootDirectory: parent.as_raw_handle(),
             Attributes: ATTRIBUTES.load(Ordering::Relaxed),
-            ..c::OBJECT_ATTRIBUTES::default()
+            ..c::OBJECT_ATTRIBUTES::with_length()
         };
         let share = c::FILE_SHARE_DELETE | c::FILE_SHARE_READ | c::FILE_SHARE_WRITE;
         let options = c::FILE_OPEN_REPARSE_POINT | options;