diff options
author | Kamal Marhubi <kamal@marhubi.com> | 2016-02-08 19:18:36 -0500 |
---|---|---|
committer | Kamal Marhubi <kamal@marhubi.com> | 2016-02-08 19:18:36 -0500 |
commit | c33ba2908e20a6d74d472f934f7a4fa9b03cfc06 (patch) | |
tree | 1437b13600b8f0ad6c474fa7bf86422e9915108d /src | |
parent | 0836c62d13fbc84e9481de399e90a0df0686ff60 (diff) | |
download | nix-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')
-rw-r--r-- | src/sys/signal.rs | 1 |
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, |