diff options
author | WANG Xuerui <git@xen0n.name> | 2022-12-13 16:30:45 +0800 |
---|---|---|
committer | David Chase <drchase@google.com> | 2023-11-21 18:56:21 +0000 |
commit | d7fcb5cf80953f1d63246f1ae9defa60c5ce2d76 (patch) | |
tree | 7dcd3bcf9bf99162cac908928986e8bb1740c2ee /src/cmd/dist/test.go | |
parent | 7b26cb954050291b593b36170d25214e948ceba5 (diff) | |
download | go-d7fcb5cf80953f1d63246f1ae9defa60c5ce2d76.tar.gz go-d7fcb5cf80953f1d63246f1ae9defa60c5ce2d76.zip |
cmd/dist, cmd/link, internal, runtime: implement buildmode=plugin for linux/loong64
According to review, buildmode=shared has unfixed shortcomings and
should be considered legacy at this time. So only buildmode=plugin is
going to be added for loong64 which is a relatively new platform.
Change-Id: Iac0b9f57e4ee01755458e180bb24d1b2a146fdf0
Reviewed-on: https://go-review.googlesource.com/c/go/+/480878
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Run-TryBot: WANG Xuerui <git@xen0n.name>
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: abner chenc <chenguoqi@loongson.cn>
Reviewed-by: Meidan Li <limeidan@loongson.cn>
Diffstat (limited to 'src/cmd/dist/test.go')
-rw-r--r-- | src/cmd/dist/test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/dist/test.go b/src/cmd/dist/test.go index 9635c4fb61..4450129e08 100644 --- a/src/cmd/dist/test.go +++ b/src/cmd/dist/test.go @@ -1627,7 +1627,7 @@ func buildModeSupported(compiler, buildmode, goos, goarch string) bool { case "plugin": switch platform { - case "linux/amd64", "linux/arm", "linux/arm64", "linux/386", "linux/s390x", "linux/ppc64le", + case "linux/amd64", "linux/arm", "linux/arm64", "linux/386", "linux/loong64", "linux/s390x", "linux/ppc64le", "android/amd64", "android/386", "darwin/amd64", "darwin/arm64", "freebsd/amd64": |