Skip to content

Commit cef4564

Browse files
authored
riscv64: fix release mode compilation (#104)
1 parent 22cedb2 commit cef4564

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)