From d2b59c41d932fb6f7a7ff5cd5dfade2856137c50 Mon Sep 17 00:00:00 2001 From: "guoqi.chen" Date: Fri, 15 Oct 2021 11:10:22 +0800 Subject: [PATCH] Rename loongarchx to loong64. loong64 GOARCH value reserved for LoongArch architecture: https://golang.org/doc/go1.17. github issues: https://github.com/golang/go/issues/46229 LoongArch documents: https://loongson.github.io/LoongArch-Documentation/LoongArch-Vol1-EN.html Signed-off-by: guoqi.chen --- ztypes_loongarchx.go => ztypes_loong64.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) rename ztypes_loongarchx.go => ztypes_loong64.go (55%) diff --git a/ztypes_loongarchx.go b/ztypes_loong64.go similarity index 55% rename from ztypes_loongarchx.go rename to ztypes_loong64.go index 674d2a4..3beb5c1 100644 --- a/ztypes_loongarchx.go +++ b/ztypes_loong64.go @@ -1,6 +1,5 @@ -//go:build (loongarch32 || loongarch64) && linux -//+build linux -//+build loongarch32 loongarch64 +//go:build loong64 +// +build loong64 // Created by cgo -godefs - DO NOT EDIT // cgo -godefs types.go