File tree Expand file tree Collapse file tree 6 files changed +290
-31
lines changed
src/tools/generate-windows-sys Expand file tree Collapse file tree 6 files changed +290
-31
lines changed Original file line number Diff line number Diff line change @@ -6066,11 +6066,13 @@ dependencies = [
60666066
60676067[[package ]]
60686068name = " windows-bindgen"
6069- version = " 0.59 .0"
6069+ version = " 0.61 .0"
60706070source = " registry+https://github.com/rust-lang/crates.io-index"
6071- checksum = " 9b7fb600834d7e868f6e5bb748a86101427330fafbf9485c331b9d5f562d54a5 "
6071+ checksum = " ac1c59c20569610dd9ed784d5f003fb493ec57b4cf39d974eb03a84bb7156c90 "
60726072dependencies = [
60736073 " rayon" ,
6074+ " serde" ,
6075+ " serde_json" ,
60746076]
60756077
60766078[[package ]]
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ fn open_link_no_reparse(
9595 ObjectName : & mut path_str,
9696 RootDirectory : parent. as_raw_handle ( ) ,
9797 Attributes : ATTRIBUTES . load ( Ordering :: Relaxed ) ,
98- ..c:: OBJECT_ATTRIBUTES :: default ( )
98+ ..c:: OBJECT_ATTRIBUTES :: with_length ( )
9999 } ;
100100 let share = c:: FILE_SHARE_DELETE | c:: FILE_SHARE_READ | c:: FILE_SHARE_WRITE ;
101101 let options = c:: FILE_OPEN_REPARSE_POINT | options;
Original file line number Diff line number Diff line change @@ -44,8 +44,8 @@ impl UNICODE_STRING {
4444 }
4545}
4646
47- impl Default for OBJECT_ATTRIBUTES {
48- fn default ( ) -> Self {
47+ impl OBJECT_ATTRIBUTES {
48+ pub fn with_length ( ) -> Self {
4949 Self {
5050 Length : size_of :: < Self > ( ) as _ ,
5151 RootDirectory : ptr:: null_mut ( ) ,
Original file line number Diff line number Diff line change 11--out windows_sys.rs
22--flat
33--sys
4- --no-core
4+ --no-deps
5+ --link windows_targets
56--filter
67!INVALID_HANDLE_VALUE
78ABOVE_NORMAL_PRIORITY_CLASS
@@ -19,7 +20,6 @@ ALL_PROCESSOR_GROUPS
1920ARM64_NT_NEON128
2021BELOW_NORMAL_PRIORITY_CLASS
2122bind
22- BOOL
2323BY_HANDLE_FILE_INFORMATION
2424CALLBACK_CHUNK_FINISHED
2525CALLBACK_STREAM_SWITCH
You can’t perform that action at this time.
0 commit comments