Skip to content

Commit fc1c3d9

Browse files
committed
Remove unrelated changes.
1 parent a676ef2 commit fc1c3d9

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/ui/runtime/signal-alternate-stack-cleanup.rs

+1-4
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,7 @@ fn main() {
2929
// Install signal handler that runs on alternate signal stack.
3030
let mut action: sigaction = std::mem::zeroed();
3131
action.sa_flags = (SA_ONSTACK | SA_SIGINFO) as _;
32-
#[cfg(not(target_os = "aix"))]
33-
{ action.sa_sigaction = signal_handler as sighandler_t}
34-
#[cfg(target_os = "aix")]
35-
{ action.sa_union.__su_sigaction = signal_handler as sighandler_t }
32+
action.sa_sigaction = signal_handler as sighandler_t;
3633
sigaction(SIGWINCH, &action, std::ptr::null_mut());
3734

3835
// Send SIGWINCH on exit.

0 commit comments

Comments
 (0)