authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-07-30 00:09:31+02:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2024-08-01 01:08:20-07:00
log8d5eaadb0593b3e2d217171b4b71f45d5bed2fcd
tree7b9f5ea73741cc387548374fd96ad9171c18eaa6
parentf03d54f0692967872f6d5664597d3e349d79c2a3

std.Target: Handle loongarch in Os.Tag.archName().


1 files changed, 1 insertions(+), 0 deletions(-)

lib/std/Target.zig+1
...@@ -198,6 +198,7 @@ pub const Os = struct {...@@ -198,6 +198,7 @@ pub const Os = struct {
198 .linux => switch (arch) {198 .linux => switch (arch) {
199 .arm, .armeb, .thumb, .thumbeb => "arm",199 .arm, .armeb, .thumb, .thumbeb => "arm",
200 .aarch64, .aarch64_be => "aarch64",200 .aarch64, .aarch64_be => "aarch64",
201 .loongarch32, .loongarch64 => "loongarch",
201 .mips, .mipsel, .mips64, .mips64el => "mips",202 .mips, .mipsel, .mips64, .mips64el => "mips",
202 .powerpc, .powerpcle, .powerpc64, .powerpc64le => "powerpc",203 .powerpc, .powerpcle, .powerpc64, .powerpc64le => "powerpc",
203 .riscv32, .riscv64 => "riscv",204 .riscv32, .riscv64 => "riscv",