diff --git a/library/unwind/src/libunwind.rs b/library/unwind/src/libunwind.rs index 2d65ded3909..677843e12e1 100644 --- a/library/unwind/src/libunwind.rs +++ b/library/unwind/src/libunwind.rs @@ -54,10 +54,7 @@ pub const unwinder_private_data_size: usize = 2; #[cfg(target_arch = "sparc64")] pub const unwinder_private_data_size: usize = 2; -#[cfg(target_arch = "riscv64")] -pub const unwinder_private_data_size: usize = 2; - -#[cfg(target_arch = "riscv32")] +#[cfg(any(target_arch = "riscv64", target_arch = "riscv32")] pub const unwinder_private_data_size: usize = 2; #[cfg(target_os = "emscripten")]