File tree 6 files changed +290
-31
lines changed
src/tools/generate-windows-sys
6 files changed +290
-31
lines changed Original file line number Diff line number Diff line change @@ -6066,11 +6066,13 @@ dependencies = [
6066
6066
6067
6067
[[package ]]
6068
6068
name = " windows-bindgen"
6069
- version = " 0.59 .0"
6069
+ version = " 0.61 .0"
6070
6070
source = " registry+https://github.com/rust-lang/crates.io-index"
6071
- checksum = " 9b7fb600834d7e868f6e5bb748a86101427330fafbf9485c331b9d5f562d54a5 "
6071
+ checksum = " ac1c59c20569610dd9ed784d5f003fb493ec57b4cf39d974eb03a84bb7156c90 "
6072
6072
dependencies = [
6073
6073
" rayon" ,
6074
+ " serde" ,
6075
+ " serde_json" ,
6074
6076
]
6075
6077
6076
6078
[[package ]]
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ fn open_link_no_reparse(
95
95
ObjectName : & mut path_str,
96
96
RootDirectory : parent. as_raw_handle ( ) ,
97
97
Attributes : ATTRIBUTES . load ( Ordering :: Relaxed ) ,
98
- ..c:: OBJECT_ATTRIBUTES :: default ( )
98
+ ..c:: OBJECT_ATTRIBUTES :: with_length ( )
99
99
} ;
100
100
let share = c:: FILE_SHARE_DELETE | c:: FILE_SHARE_READ | c:: FILE_SHARE_WRITE ;
101
101
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 {
44
44
}
45
45
}
46
46
47
- impl Default for OBJECT_ATTRIBUTES {
48
- fn default ( ) -> Self {
47
+ impl OBJECT_ATTRIBUTES {
48
+ pub fn with_length ( ) -> Self {
49
49
Self {
50
50
Length : size_of :: < Self > ( ) as _ ,
51
51
RootDirectory : ptr:: null_mut ( ) ,
Original file line number Diff line number Diff line change 1
1
--out windows_sys.rs
2
2
--flat
3
3
--sys
4
- --no-core
4
+ --no-deps
5
+ --link windows_targets
5
6
--filter
6
7
!INVALID_HANDLE_VALUE
7
8
ABOVE_NORMAL_PRIORITY_CLASS
@@ -19,7 +20,6 @@ ALL_PROCESSOR_GROUPS
19
20
ARM64_NT_NEON128
20
21
BELOW_NORMAL_PRIORITY_CLASS
21
22
bind
22
- BOOL
23
23
BY_HANDLE_FILE_INFORMATION
24
24
CALLBACK_CHUNK_FINISHED
25
25
CALLBACK_STREAM_SWITCH
You can’t perform that action at this time.
0 commit comments