From 57b2da808c36fa2acf991379cd971639091122f7 Mon Sep 17 00:00:00 2001 From: Alistair Francis Date: Wed, 16 Sep 2020 15:19:13 -0700 Subject: [PATCH] library/unwind: Consolidate RV32 and RV64 Signed-off-by: Alistair Francis --- library/unwind/src/libunwind.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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")]