From 3086a4b512489fd4bb77d4f0377a961047925bd7 Mon Sep 17 00:00:00 2001 From: Hank Wang <467745+hanksudo@users.noreply.github.com> Date: Thu, 10 Jun 2021 17:08:05 +0900 Subject: [PATCH] enable arm64 --- internal/protoc/downloader.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/protoc/downloader.go b/internal/protoc/downloader.go index a2546c944..30b73c373 100644 --- a/internal/protoc/downloader.go +++ b/internal/protoc/downloader.go @@ -449,7 +449,7 @@ func getUnameSUnameMPaths(goos string, goarch string) (string, string, error) { } var unameM string switch goarch { - case "amd64": + case "amd64", "arm64": unameM = "x86_64" default: return "", "", fmt.Errorf("unsupported value for runtime.GOARCH: %v", goarch)