Skip to content

Commit 776a614

Browse files
committed
cleanup: Use target_vendor = "apple"
The old ctest couldn't handle `target_vendor`, but this is no longer an issue. Simplify the config here. (backport <#4713>) (cherry picked from commit 94e3f98)
1 parent d32f60d commit 776a614

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/primitives.rs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,7 @@ pub type c_double = f64;
2020
cfg_if! {
2121
if #[cfg(all(
2222
not(windows),
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-
)),
23+
not(target_vendor = "apple"),
3124
not(target_os = "vita"),
3225
any(
3326
target_arch = "aarch64",

0 commit comments

Comments
 (0)