We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f01d1e8 commit c498595Copy full SHA for c498595
src/uucore/src/lib/features/signals.rs
@@ -457,13 +457,13 @@ pub unsafe extern "C" fn capture_sigpipe_state() {
457
#[cfg(unix)]
458
macro_rules! init_sigpipe_capture {
459
() => {
460
- #[cfg(all(unix, not(target_os = "macos")))]
+ #[cfg(not(target_os = "macos"))]
461
#[used]
462
#[unsafe(link_section = ".init_array")]
463
static CAPTURE_SIGPIPE_STATE: unsafe extern "C" fn() =
464
$crate::signals::capture_sigpipe_state;
465
466
- #[cfg(all(unix, target_os = "macos"))]
+ #[cfg(target_os = "macos")]
467
468
#[unsafe(link_section = "__DATA,__mod_init_func")]
469
0 commit comments