File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 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) {
182182 // These OSX constants are removed in Sierra.
183183 // https://developer.apple.com/library/content/releasenotes/General/APIDiffsMacOS10_12/Swift/Darwin.html
184184 "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 ,
185189 _ => false ,
186190 }
187191 } ) ;
@@ -199,6 +203,14 @@ fn test_apple(target: &str) {
199203 }
200204 } ) ;
201205
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+
202214 cfg. skip_field_type ( move |struct_, field| {
203215 match ( struct_, field) {
204216 // FIXME: actually a union
You can’t perform that action at this time.
0 commit comments