File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -273,14 +273,16 @@ fn test_apple(target: &str) {
273
273
} ) ;
274
274
275
275
cfg. skip_const ( move |name| {
276
+ // They're declared via `deprecated_mach` and we don't support it anymore.
277
+ if name. starts_with ( "VM_FLAGS_" ) {
278
+ return true ;
279
+ }
276
280
match name {
277
281
// These OSX constants are removed in Sierra.
278
282
// https://developer.apple.com/library/content/releasenotes/General/APIDiffsMacOS10_12/Swift/Darwin.html
279
283
"KERN_KDENABLE_BG_TRACE" | "KERN_KDDISABLE_BG_TRACE" => true ,
280
284
// FIXME: the value has been changed since Catalina (0xffff0000 -> 0x3fff0000).
281
285
"SF_SETTABLE" => true ,
282
- // FIXME: the value has been changed since Catalina (VM_FLAGS_RESILIENT_MEDIA is also contained now).
283
- "VM_FLAGS_USER_REMAP" => true ,
284
286
// FIXME: the values have been changed since Big Sur
285
287
"HW_TARGET" | "HW_PRODUCT" | "HW_MAXID" => true ,
286
288
_ => false ,
You can’t perform that action at this time.
0 commit comments