From 8d5eaadb0593b3e2d217171b4b71f45d5bed2fcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Tue, 30 Jul 2024 00:09:31 +0200 Subject: [PATCH] std.Target: Handle loongarch in Os.Tag.archName(). --- lib/std/Target.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/std/Target.zig b/lib/std/Target.zig index dbd1c6cb946c..7c222a9b53f6 100644 --- a/lib/std/Target.zig +++ b/lib/std/Target.zig @@ -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",