authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-05-27 00:26:35+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-05-27 00:28:15+02:00
log197ba117870bf9391b633fb1aae7dc4a22098fac
tree717a7a8e6806b4e9df9a89101b9e5194afa25a56
parent5c64311fab0ffee04d6f0e9d62bb8cf4ac79c4bc
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

std.debug.SelfInfo.Elf: update lists of supported architectures


1 files changed, 12 insertions(+), 9 deletions(-)

lib/std/debug/SelfInfo/Elf.zig+12-9
......@@ -108,15 +108,19 @@ pub const can_unwind: bool = s: {
108108 // Not supported yet: arm
109109 .haiku => &.{
110110 .aarch64,
111 .m68k,
112111 .riscv64,
113112 .x86,
114113 .x86_64,
115114 },
116 // Not supported yet: arm/armeb/thumb/thumbeb, xtensa/xtensaeb
115 .illumos => &.{
116 .x86,
117 .x86_64,
118 },
119 // Not supported yet: arm/armeb/thumb/thumbeb, hppa, hppa64, microblaze/microblazeel, xtensa/xtensaeb
117120 .linux => &.{
118121 .aarch64,
119122 .aarch64_be,
123 .alpha,
120124 .arc,
121125 .csky,
122126 .loongarch32,
......@@ -146,19 +150,23 @@ pub const can_unwind: bool = s: {
146150 .freebsd => &.{
147151 .aarch64,
148152 .riscv64,
153 .x86,
149154 .x86_64,
150155 },
151 // Not supported yet: arm/armeb, mips64/mips64el
156 // Not supported yet: arm/armeb, hppa, mips64/mips64el, sh/sheb
152157 .netbsd => &.{
153158 .aarch64,
154159 .aarch64_be,
160 .alpha,
155161 .m68k,
156162 .mips,
157163 .mipsel,
164 .riscv32,
165 .riscv64,
158166 .x86,
159167 .x86_64,
160168 },
161 // Not supported yet: arm
169 // Not supported yet: arm, hppa, sh
162170 .openbsd => &.{
163171 .aarch64,
164172 .m88k,
......@@ -169,11 +177,6 @@ pub const can_unwind: bool = s: {
169177 .x86_64,
170178 },
171179
172 .illumos => &.{
173 .x86,
174 .x86_64,
175 },
176
177180 else => unreachable,
178181 };
179182 for (archs) |a| {