Skip to content

Commit eb8ff24

Browse files
committed
library/panic_unwind: Define UNWIND_DATA_REG for m68k
1 parent 555f0c6 commit eb8ff24

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

panic_unwind/src/gcc.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,9 @@ const UNWIND_DATA_REG: (i32, i32) = (0, 1); // RAX, RDX
105105
#[cfg(any(target_arch = "arm", target_arch = "aarch64"))]
106106
const UNWIND_DATA_REG: (i32, i32) = (0, 1); // R0, R1 / X0, X1
107107

108+
#[cfg(target_arch = "m68k")]
109+
const UNWIND_DATA_REG: (i32, i32) = (0, 1); // D0, D1
110+
108111
#[cfg(any(target_arch = "mips", target_arch = "mips64"))]
109112
const UNWIND_DATA_REG: (i32, i32) = (4, 5); // A0, A1
110113

0 commit comments

Comments
 (0)