diff options
| author | Mads Marquart <mads@marquart.dk> | 2025-09-19 09:17:20 +0200 |
|---|---|---|
| committer | Mads Marquart <mads@marquart.dk> | 2025-09-19 13:55:03 +0200 |
| commit | 37be93497e5318fee712dabb70631f9676f07701 (patch) | |
| tree | d62ec65f68c17b296bd78773e2f55700994aa148 /library/std/src/os | |
| parent | b30c1b53f3fbd79b94f40b1d000067e1c49ea1d2 (diff) | |
Fix test suite in iOS/tvOS/watchOS/visionOS simulator
Diffstat (limited to 'library/std/src/os')
| -rw-r--r-- | library/std/src/os/unix/process.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/library/std/src/os/unix/process.rs b/library/std/src/os/unix/process.rs index 09429af06e3..5b7b5a8ea80 100644 --- a/library/std/src/os/unix/process.rs +++ b/library/std/src/os/unix/process.rs @@ -406,8 +406,10 @@ pub trait ChildExt: Sealed { /// use libc::SIGTERM; /// /// fn main() -> io::Result<()> { + /// # if cfg!(not(all(target_vendor = "apple", not(target_os = "macos")))) { /// let child = Command::new("cat").stdin(Stdio::piped()).spawn()?; /// child.send_signal(SIGTERM)?; + /// # } /// Ok(()) /// } /// ``` |
