Skip to content

Commit 50be2a3

Browse files
zhaixiaojuanheiher
authored andcommitted
library/unwind: Add definitions for loongarch64
1 parent a5e2311 commit 50be2a3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

library/unwind/src/libunwind.rs

+3
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ pub const unwinder_private_data_size: usize = 20;
7575
#[cfg(all(target_arch = "hexagon", target_os = "linux"))]
7676
pub const unwinder_private_data_size: usize = 35;
7777

78+
#[cfg(target_arch = "loongarch64")]
79+
pub const unwinder_private_data_size: usize = 2;
80+
7881
#[repr(C)]
7982
pub struct _Unwind_Exception {
8083
pub exception_class: _Unwind_Exception_Class,

0 commit comments

Comments
 (0)