about summary refs log tree commit diff
path: root/library/std/src
diff options
context:
space:
mode:
authorB I Mohammed Abbas <bimohammdabbas@gmail.com>2024-07-08 10:56:13 +0530
committerB I Mohammed Abbas <bimohammdabbas@gmail.com>2024-07-08 10:56:13 +0530
commit6519c143a7ae1494b38920cfb08a55793fbfe07d (patch)
treef63e6fec9cee11541231ca19cee1e10457954929 /library/std/src
parentb1de36ff34a4fe4ba820f195481a13aee74e1358 (diff)
downloadrust-6519c143a7ae1494b38920cfb08a55793fbfe07d.tar.gz
rust-6519c143a7ae1494b38920cfb08a55793fbfe07d.zip
Reset sigpipe not supported for vxworks
Diffstat (limited to 'library/std/src')
-rw-r--r--library/std/src/sys/pal/unix/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/sys/pal/unix/mod.rs b/library/std/src/sys/pal/unix/mod.rs
index 16fc2011d70..d016e5e32d4 100644
--- a/library/std/src/sys/pal/unix/mod.rs
+++ b/library/std/src/sys/pal/unix/mod.rs
@@ -164,6 +164,7 @@ pub unsafe fn init(argc: isize, argv: *const *const u8, sigpipe: u8) {
             target_os = "emscripten",
             target_os = "fuchsia",
             target_os = "horizon",
+            target_os = "vxworks",
             // Unikraft's `signal` implementation is currently broken:
             // https://github.com/unikraft/lib-musl/issues/57
             target_vendor = "unikraft",