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: {...@@ -108,15 +108,19 @@ pub const can_unwind: bool = s: {
108 // Not supported yet: arm108 // Not supported yet: arm
109 .haiku => &.{109 .haiku => &.{
110 .aarch64,110 .aarch64,
111 .m68k,
112 .riscv64,111 .riscv64,
113 .x86,112 .x86,
114 .x86_64,113 .x86_64,
115 },114 },
116 // Not supported yet: arm/armeb/thumb/thumbeb, xtensa/xtensaeb115 .illumos => &.{
116 .x86,
117 .x86_64,
118 },
119 // Not supported yet: arm/armeb/thumb/thumbeb, hppa, hppa64, microblaze/microblazeel, xtensa/xtensaeb
117 .linux => &.{120 .linux => &.{
118 .aarch64,121 .aarch64,
119 .aarch64_be,122 .aarch64_be,
123 .alpha,
120 .arc,124 .arc,
121 .csky,125 .csky,
122 .loongarch32,126 .loongarch32,
...@@ -146,19 +150,23 @@ pub const can_unwind: bool = s: {...@@ -146,19 +150,23 @@ pub const can_unwind: bool = s: {
146 .freebsd => &.{150 .freebsd => &.{
147 .aarch64,151 .aarch64,
148 .riscv64,152 .riscv64,
153 .x86,
149 .x86_64,154 .x86_64,
150 },155 },
151 // Not supported yet: arm/armeb, mips64/mips64el156 // Not supported yet: arm/armeb, hppa, mips64/mips64el, sh/sheb
152 .netbsd => &.{157 .netbsd => &.{
153 .aarch64,158 .aarch64,
154 .aarch64_be,159 .aarch64_be,
160 .alpha,
155 .m68k,161 .m68k,
156 .mips,162 .mips,
157 .mipsel,163 .mipsel,
164 .riscv32,
165 .riscv64,
158 .x86,166 .x86,
159 .x86_64,167 .x86_64,
160 },168 },
161 // Not supported yet: arm169 // Not supported yet: arm, hppa, sh
162 .openbsd => &.{170 .openbsd => &.{
163 .aarch64,171 .aarch64,
164 .m88k,172 .m88k,
...@@ -169,11 +177,6 @@ pub const can_unwind: bool = s: {...@@ -169,11 +177,6 @@ pub const can_unwind: bool = s: {
169 .x86_64,177 .x86_64,
170 },178 },
171179
172 .illumos => &.{
173 .x86,
174 .x86_64,
175 },
176
177 else => unreachable,180 else => unreachable,
178 };181 };
179 for (archs) |a| {182 for (archs) |a| {