Skip to content

Commit

Permalink
linux: Fix duplicated definition of SIGSTKSZ on aarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
XuShaohua committed Sep 19, 2023
1 parent 094c8c7 commit ba39ddf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/platform/linux-types/uapi/asm_generic/signal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ pub const SIGRTMIN: i32 = 32;
#[allow(clippy::cast_possible_wrap)]
pub const SIGRTMAX: i32 = _NSIG as i32;

#[cfg(not(target_arch = "aarch64"))]
pub const MINSIGSTKSZ: usize = 2048;
#[cfg(not(target_arch = "aarch64"))]
pub const SIGSTKSZ: usize = 8192;

#[repr(C)]
Expand Down

0 comments on commit ba39ddf

Please sign in to comment.