File tree 1 file changed +12
-0
lines changed
1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -182,6 +182,10 @@ fn test_apple(target: &str) {
182
182
// These OSX constants are removed in Sierra.
183
183
// https://developer.apple.com/library/content/releasenotes/General/APIDiffsMacOS10_12/Swift/Darwin.html
184
184
"KERN_KDENABLE_BG_TRACE" | "KERN_KDDISABLE_BG_TRACE" => true ,
185
+ // FIXME: the value has been changed since Catalina (0xffff0000 -> 0x3fff0000).
186
+ "SF_SETTABLE" => true ,
187
+ // FIXME: the value has been changed since Catalina (VM_FLAGS_RESILIENT_MEDIA is also contained now).
188
+ "VM_FLAGS_USER_REMAP" => true ,
185
189
_ => false ,
186
190
}
187
191
} ) ;
@@ -199,6 +203,14 @@ fn test_apple(target: &str) {
199
203
}
200
204
} ) ;
201
205
206
+ cfg. skip_field ( move |struct_, field| {
207
+ match ( struct_, field) {
208
+ // FIXME: the array size has been changed since macOS 10.15 ([8] -> [7]).
209
+ ( "statfs" , "f_reserved" ) => true ,
210
+ _ => false ,
211
+ }
212
+ } ) ;
213
+
202
214
cfg. skip_field_type ( move |struct_, field| {
203
215
match ( struct_, field) {
204
216
// FIXME: actually a union
You can’t perform that action at this time.
0 commit comments