We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4896bed commit 355dfa1Copy full SHA for 355dfa1
objc2/src/declare.rs
@@ -566,11 +566,8 @@ mod tests {
566
let superclass = test_utils::custom_class();
567
let builder = ClassBuilder::new("TestFetchWhileCreatingClass", superclass).unwrap();
568
569
- if cfg!(all(
570
- feature = "apple",
571
- not(all(target_os = "macos", target_arch = "x86"))
572
- )) {
573
- // It is IMO a bug in Apple's new runtime that it is present here
+ if cfg!(all(feature = "apple", target_arch = "x86_64")) {
+ // It is IMO a bug that it is present here!
574
assert!(is_present(builder.cls.as_ptr()));
575
} else {
576
assert!(!is_present(builder.cls.as_ptr()));
0 commit comments