Skip to content

Commit c33ba29

Browse files
committed
signal: Allow raw_pointer_derive on SigAction struct
This will fix the build on pre-1.6.0 Rust.
1 parent 0836c62 commit c33ba29

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/sys/signal.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,7 @@ impl AsRef<sigset_t> for SigSet {
380380

381381
pub use self::signal::siginfo;
382382

383+
#[allow(raw_pointer_derive)]
383384
#[derive(Clone, Copy)]
384385
pub enum SigHandler {
385386
SigDfl,

0 commit comments

Comments
 (0)