aboutsummaryrefslogtreecommitdiff
path: root/lib/std/debug/SelfInfo/Elf.zig
diff options
context:
space:
mode:
authorAlex Rønne Petersen <alex@alexrp.com>2025-10-01 23:24:53 +0200
committerAlex Rønne Petersen <alex@alexrp.com>2025-10-01 23:47:47 +0200
commit97de46dc16b584f5bd7aa2ae9afb2bb77970cd22 (patch)
tree67cdb1aaf5dc90c873c6b0c36b53a80c8856a67f /lib/std/debug/SelfInfo/Elf.zig
parent8520e9312eed3b3b8d7f95d4844c83105c91ead1 (diff)
downloadzig-97de46dc16b584f5bd7aa2ae9afb2bb77970cd22.tar.gz
zig-97de46dc16b584f5bd7aa2ae9afb2bb77970cd22.zip
std.debug: add riscv32-linux and riscv64-linux unwind support
Diffstat (limited to 'lib/std/debug/SelfInfo/Elf.zig')
-rw-r--r--lib/std/debug/SelfInfo/Elf.zig2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/std/debug/SelfInfo/Elf.zig b/lib/std/debug/SelfInfo/Elf.zig
index 7a7a0a2c57..ebb19c2a7b 100644
--- a/lib/std/debug/SelfInfo/Elf.zig
+++ b/lib/std/debug/SelfInfo/Elf.zig
@@ -88,6 +88,8 @@ pub const can_unwind: bool = s: {
.aarch64,
.aarch64_be,
.loongarch64,
+ .riscv32,
+ .riscv64,
.x86,
.x86_64,
},