aboutsummaryrefslogtreecommitdiff
path: root/lib/std/debug/SelfInfo/Elf.zig
diff options
context:
space:
mode:
authorAlex Rønne Petersen <alex@alexrp.com>2025-10-04 07:09:59 +0200
committerGitHub <noreply@github.com>2025-10-04 07:09:59 +0200
commitb54bdace75df63e58892c65f97ff644b95a4b307 (patch)
tree4fb93b4d7e5069dca86fc72e27751a569bab3a96 /lib/std/debug/SelfInfo/Elf.zig
parente932ab003f8db74c5e4e95177eb02eb0cf0d8449 (diff)
parentb0f280f4a4f3b1f804d84cc71c3e1be54d6e05a8 (diff)
downloadzig-b54bdace75df63e58892c65f97ff644b95a4b307.tar.gz
zig-b54bdace75df63e58892c65f97ff644b95a4b307.zip
Merge pull request #25457 from linusg/more-serenity
std.debug: Add unwind support for serenity
Diffstat (limited to 'lib/std/debug/SelfInfo/Elf.zig')
-rw-r--r--lib/std/debug/SelfInfo/Elf.zig5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/std/debug/SelfInfo/Elf.zig b/lib/std/debug/SelfInfo/Elf.zig
index 9772ec0aac..c31af53cd6 100644
--- a/lib/std/debug/SelfInfo/Elf.zig
+++ b/lib/std/debug/SelfInfo/Elf.zig
@@ -114,6 +114,11 @@ pub const can_unwind: bool = s: {
.x86,
.x86_64,
},
+ .serenity => &.{
+ .x86_64,
+ .aarch64,
+ .riscv64,
+ },
else => unreachable,
};
for (archs) |a| {