Skip to content

Commit 6b488cd

Browse files
committed
Also raise fd limit on tvOS when testing
1 parent 214d588 commit 6b488cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tools/compiletest/src/raise_fd_limit.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
/// on the number of cores available.
55
///
66
/// This fixes issue #7772.
7-
#[cfg(any(target_os = "macos", target_os = "ios", target_os = "watchos", target_os = "visionos"))]
7+
#[cfg(target_vendor = "apple")]
88
#[allow(non_camel_case_types)]
99
pub unsafe fn raise_fd_limit() {
1010
use std::cmp;
@@ -50,5 +50,5 @@ pub unsafe fn raise_fd_limit() {
5050
}
5151
}
5252

53-
#[cfg(not(any(target_os = "macos", target_os = "ios")))]
53+
#[cfg(not(target_vendor = "apple"))]
5454
pub unsafe fn raise_fd_limit() {}

0 commit comments

Comments
 (0)