diff options
| author | Mads Marquart <mads@marquart.dk> | 2024-04-28 18:11:43 +0200 |
|---|---|---|
| committer | Mads Marquart <mads@marquart.dk> | 2024-04-28 21:31:00 +0200 |
| commit | 6b488cd3021a7438cb58c11af822e206b05d038d (patch) | |
| tree | 713fe6bb987464f8ac21d80da83ff321ec8fcf0f | |
| parent | 214d588a5b5e8bf9adcfa9408fd2b0ebbe3fd734 (diff) | |
| download | rust-6b488cd3021a7438cb58c11af822e206b05d038d.tar.gz rust-6b488cd3021a7438cb58c11af822e206b05d038d.zip | |
Also raise fd limit on tvOS when testing
| -rw-r--r-- | src/tools/compiletest/src/raise_fd_limit.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/compiletest/src/raise_fd_limit.rs b/src/tools/compiletest/src/raise_fd_limit.rs index a4235381beb..218bea68a21 100644 --- a/src/tools/compiletest/src/raise_fd_limit.rs +++ b/src/tools/compiletest/src/raise_fd_limit.rs @@ -4,7 +4,7 @@ /// on the number of cores available. /// /// This fixes issue #7772. -#[cfg(any(target_os = "macos", target_os = "ios", target_os = "watchos", target_os = "visionos"))] +#[cfg(target_vendor = "apple")] #[allow(non_camel_case_types)] pub unsafe fn raise_fd_limit() { use std::cmp; @@ -50,5 +50,5 @@ pub unsafe fn raise_fd_limit() { } } -#[cfg(not(any(target_os = "macos", target_os = "ios")))] +#[cfg(not(target_vendor = "apple"))] pub unsafe fn raise_fd_limit() {} |
