go: add loongarch64 cpu support (#399995)

This commit is contained in:
Aleksana
2025-04-20 09:30:56 +08:00
committed by GitHub
3 changed files with 3 additions and 0 deletions
+1
View File
@@ -28,6 +28,7 @@ let
"armv6l" = "arm";
"armv7l" = "arm";
"i686" = "386";
"loongarch64" = "loong64";
"mips" = "mips";
"mips64el" = "mips64le";
"mipsel" = "mipsle";
+1
View File
@@ -28,6 +28,7 @@ let
"armv6l" = "arm";
"armv7l" = "arm";
"i686" = "386";
"loongarch64" = "loong64";
"mips" = "mips";
"mips64el" = "mips64le";
"mipsel" = "mipsle";
+1
View File
@@ -18,6 +18,7 @@ let
"armv7l" = "armv6l";
"powerpc64le" = "ppc64le";
"riscv64" = "riscv64";
"loongarch64" = "loong64";
}
.${platform.parsed.cpu.name} or (throw "Unsupported CPU ${platform.parsed.cpu.name}");