about summary refs log tree commit diff
path: root/library/std/src/sys/process
diff options
context:
space:
mode:
authorMads Marquart <mads@marquart.dk>2025-09-19 09:17:20 +0200
committerMads Marquart <mads@marquart.dk>2025-09-19 13:55:03 +0200
commit37be93497e5318fee712dabb70631f9676f07701 (patch)
treed62ec65f68c17b296bd78773e2f55700994aa148 /library/std/src/sys/process
parentb30c1b53f3fbd79b94f40b1d000067e1c49ea1d2 (diff)
Fix test suite in iOS/tvOS/watchOS/visionOS simulator
Diffstat (limited to 'library/std/src/sys/process')
-rw-r--r--library/std/src/sys/process/unix/unix/tests.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/sys/process/unix/unix/tests.rs b/library/std/src/sys/process/unix/unix/tests.rs
index f4d6ac6b4e3..663ba61f966 100644
--- a/library/std/src/sys/process/unix/unix/tests.rs
+++ b/library/std/src/sys/process/unix/unix/tests.rs
@@ -51,6 +51,7 @@ fn exitstatus_display_tests() {
 
 #[test]
 #[cfg_attr(target_os = "emscripten", ignore)]
+#[cfg_attr(any(target_os = "tvos", target_os = "watchos"), ignore = "fork is prohibited")]
 fn test_command_fork_no_unwind() {
     let got = catch_unwind(|| {
         let mut c = Command::new("echo");