Skip to content

Commit 60b269f

Browse files
authored
Merge pull request #4282 from tgross35/target-vendor
Switch back to matching `target_os` rather than `target_vendor`
2 parents 5a8eb47 + a986f81 commit 60b269f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/primitives.rs

+8-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,14 @@ pub type c_double = f64;
2020
cfg_if! {
2121
if #[cfg(all(
2222
not(windows),
23-
not(target_vendor = "apple"),
23+
// FIXME(ctest): just use `target_vendor` = "apple"` once `ctest` supports it
24+
not(any(
25+
target_os = "macos",
26+
target_os = "ios",
27+
target_os = "tvos",
28+
target_os = "watchos",
29+
target_os = "visionos",
30+
)),
2431
not(target_os = "vita"),
2532
any(
2633
target_arch = "aarch64",

0 commit comments

Comments
 (0)