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

This commit is contained in:
Alex Rønne Petersen 2024-07-30 00:09:31 +02:00 committed by Andrew Kelley
parent f03d54f069
commit 8d5eaadb05

View File

@ -198,6 +198,7 @@ pub const Os = struct {
.linux => switch (arch) {
.arm, .armeb, .thumb, .thumbeb => "arm",
.aarch64, .aarch64_be => "aarch64",
.loongarch32, .loongarch64 => "loongarch",
.mips, .mipsel, .mips64, .mips64el => "mips",
.powerpc, .powerpcle, .powerpc64, .powerpc64le => "powerpc",
.riscv32, .riscv64 => "riscv",