about summary refs log tree commit diff
path: root/library/std/src/sys
diff options
context:
space:
mode:
authorNicholas Baron <Nicholas.Baron@windriver.com>2021-07-20 15:12:36 -0700
committerNicholas Baron <Nicholas.Baron@windriver.com>2021-07-21 10:53:43 -0700
commit7a9dd00506f496f511d87fda5a286813322f8e55 (patch)
tree35f31f7587c7be352368db08feccdc9c5ab85ffc /library/std/src/sys
parentb07d175388403e4d15a86fa4caddfdcef5106d71 (diff)
downloadrust-7a9dd00506f496f511d87fda5a286813322f8e55.tar.gz
rust-7a9dd00506f496f511d87fda5a286813322f8e55.zip
VxWorks does provide sigemptyset and sigaddset
Diffstat (limited to 'library/std/src/sys')
-rw-r--r--library/std/src/sys/unix/process/process_common.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sys/unix/process/process_common.rs b/library/std/src/sys/unix/process/process_common.rs
index c5bdd1bda4a..f2f161e4eaa 100644
--- a/library/std/src/sys/unix/process/process_common.rs
+++ b/library/std/src/sys/unix/process/process_common.rs
@@ -50,7 +50,7 @@ cfg_if::cfg_if! {
             raw[bit / 8] |= 1 << (bit % 8);
             return 0;
         }
-    } else if #[cfg(not(target_os = "vxworks"))] {
+    } else {
         pub use libc::{sigemptyset, sigaddset};
     }
 }