Use target_vendor = "apple" instead of target_os = "..."
This commit is contained in:
@@ -40,11 +40,7 @@ fn test_named_thread() {
|
||||
#[cfg(any(
|
||||
// Note: musl didn't add pthread_getname_np until 1.2.3
|
||||
all(target_os = "linux", target_env = "gnu"),
|
||||
target_os = "macos",
|
||||
target_os = "ios",
|
||||
target_os = "tvos",
|
||||
target_os = "watchos",
|
||||
target_os = "visionos",
|
||||
target_vendor = "apple",
|
||||
))]
|
||||
#[test]
|
||||
fn test_named_thread_truncation() {
|
||||
|
||||
Reference in New Issue
Block a user