Skip to content

Commit bbc0926

Browse files
committed
fix: remove SaFlags workaround for libc issue
Remove workaround for libc issue introduced in 0708c8c
1 parent e9c43d0 commit bbc0926

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ targets = [
2828
]
2929

3030
[dependencies]
31-
libc = { version = "0.2.183", features = ["extra_traits"] }
31+
libc = { version = "0.2.184", features = ["extra_traits"] }
3232
bitflags = "2.3.3"
3333
cfg-if = "1.0"
3434
pin-utils = { version = "0.1.0", optional = true }

src/sys/signal.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -442,25 +442,25 @@ libc_bitflags! {
442442
/// When catching a [`Signal::SIGCHLD`] signal, the signal will be
443443
/// generated only when a child process exits, not when a child process
444444
/// stops.
445-
SA_NOCLDSTOP as SaFlags_t;
445+
SA_NOCLDSTOP;
446446
/// When catching a [`Signal::SIGCHLD`] signal, the system will not
447447
/// create zombie processes when children of the calling process exit.
448448
#[cfg(not(target_os = "hurd"))]
449-
SA_NOCLDWAIT as SaFlags_t;
449+
SA_NOCLDWAIT;
450450
/// Further occurrences of the delivered signal are not masked during
451451
/// the execution of the handler.
452-
SA_NODEFER as SaFlags_t;
452+
SA_NODEFER;
453453
/// The system will deliver the signal to the process on a signal stack,
454454
/// specified by each thread with sigaltstack(2).
455-
SA_ONSTACK as SaFlags_t;
455+
SA_ONSTACK;
456456
/// The handler is reset back to the default at the moment the signal is
457457
/// delivered.
458-
SA_RESETHAND as SaFlags_t;
458+
SA_RESETHAND;
459459
/// Requests that certain system calls restart if interrupted by this
460460
/// signal. See the man page for complete details.
461-
SA_RESTART as SaFlags_t;
461+
SA_RESTART;
462462
/// This flag is controlled internally by Nix.
463-
SA_SIGINFO as SaFlags_t;
463+
SA_SIGINFO;
464464
}
465465
}
466466

0 commit comments

Comments
 (0)