From 0f3ccbd662977d9434f8478a379f292c5bb72a8c Mon Sep 17 00:00:00 2001 From: Alistair Francis Date: Wed, 16 Sep 2020 08:45:49 -0700 Subject: [PATCH] library/unwind: Add support for RISC-V 32-bit Signed-off-by: Alistair Francis --- library/unwind/src/libunwind.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/library/unwind/src/libunwind.rs b/library/unwind/src/libunwind.rs index 0c57861f70a..2d65ded3909 100644 --- a/library/unwind/src/libunwind.rs +++ b/library/unwind/src/libunwind.rs @@ -57,6 +57,9 @@ pub const unwinder_private_data_size: usize = 2; #[cfg(target_arch = "riscv64")] pub const unwinder_private_data_size: usize = 2; +#[cfg(target_arch = "riscv32")] +pub const unwinder_private_data_size: usize = 2; + #[cfg(target_os = "emscripten")] pub const unwinder_private_data_size: usize = 20;