about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorEric Allen <ericpallen@gmail.com>2014-12-29 22:16:53 -0500
committerEric Allen <ericpallen@gmail.com>2014-12-29 22:16:53 -0500
commit011b5ca1bdbf5f663263b7c688f0ab87ac1ad64b (patch)
tree4fd681daf2cd5891981dfdb546c4f54d794ea2d1 /src/libstd
parentfea5aa656ff4349f4d3e1fea1447d26986762ae1 (diff)
downloadrust-011b5ca1bdbf5f663263b7c688f0ab87ac1ad64b.tar.gz
rust-011b5ca1bdbf5f663263b7c688f0ab87ac1ad64b.zip
Fix impl of Send and Sync for mips
In f436f9ca2, the Send and Sync traits became `unsafe`. They were updated for `target_arch = x86` and others, but `mips` was missed.
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/sys/unix/c.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/sys/unix/c.rs b/src/libstd/sys/unix/c.rs
index a4ebcbd25d0..208dc60e405 100644
--- a/src/libstd/sys/unix/c.rs
+++ b/src/libstd/sys/unix/c.rs
@@ -214,8 +214,8 @@ mod signal {
         sa_resv: [libc::c_int, ..1],
     }
 
-    impl ::kinds::Send for sigaction { }
-    impl ::kinds::Sync for sigaction { }
+    unsafe impl ::kinds::Send for sigaction { }
+    unsafe impl ::kinds::Sync for sigaction { }
 
     #[repr(C)]
     pub struct sigset_t {