summaryrefslogtreecommitdiff
path: root/src/sys
diff options
context:
space:
mode:
authorKamal Marhubi <kamal@marhubi.com>2016-02-08 19:18:36 -0500
committerKamal Marhubi <kamal@marhubi.com>2016-02-08 19:18:36 -0500
commitc33ba2908e20a6d74d472f934f7a4fa9b03cfc06 (patch)
tree1437b13600b8f0ad6c474fa7bf86422e9915108d /src/sys
parent0836c62d13fbc84e9481de399e90a0df0686ff60 (diff)
downloadnix-c33ba2908e20a6d74d472f934f7a4fa9b03cfc06.zip
signal: Allow raw_pointer_derive on SigAction struct
This will fix the build on pre-1.6.0 Rust.
Diffstat (limited to 'src/sys')
-rw-r--r--src/sys/signal.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sys/signal.rs b/src/sys/signal.rs
index 85bd0c62..b21a0a96 100644
--- a/src/sys/signal.rs
+++ b/src/sys/signal.rs
@@ -380,6 +380,7 @@ impl AsRef<sigset_t> for SigSet {
pub use self::signal::siginfo;
+#[allow(raw_pointer_derive)]
#[derive(Clone, Copy)]
pub enum SigHandler {
SigDfl,