Skip to content

Commit b20299e

Browse files
committed
riscv64: fix release mode compilation
1 parent 22cedb2 commit b20299e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crash-context/src/linux/getcontext/riscv64.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
std::arch::global_asm! {
66
".text",
7+
".attribute arch, \"rv64gc\"",
78
".globl crash_context_getcontext",
89
".hidden crash_context_getcontext",
910
".type crash_context_getcontext, @function",

0 commit comments

Comments
 (0)