Skip to content

Commit 990326f

Browse files
committed
library/panic_unwind: Define UNWIND_DATA_REG for m68k
1 parent 5d8767c commit 990326f

File tree

1 file changed

+3
-0
lines changed
  • library/panic_unwind/src

1 file changed

+3
-0
lines changed

library/panic_unwind/src/gcc.rs

+3
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)