mirror of
https://github.com/golang/go
synced 2024-11-18 10:34:51 -07:00
cmd/go: enable -buildmode=plugin on darwin/amd64
Change-Id: I8e594e059448879a9f451801064729186ac7c11b Reviewed-on: https://go-review.googlesource.com/29395 Run-TryBot: David Crawshaw <crawshaw@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
73e7a569b4
commit
96acfaaefa
@ -413,7 +413,8 @@ func buildModeInit() {
|
|||||||
} else {
|
} else {
|
||||||
switch platform {
|
switch platform {
|
||||||
case "linux/amd64", "linux/arm", "linux/arm64", "linux/386",
|
case "linux/amd64", "linux/arm", "linux/arm64", "linux/386",
|
||||||
"android/amd64", "android/arm", "android/arm64", "android/386":
|
"android/amd64", "android/arm", "android/arm64", "android/386",
|
||||||
|
"darwin/amd64":
|
||||||
default:
|
default:
|
||||||
fatalf("-buildmode=plugin not supported on %s\n", platform)
|
fatalf("-buildmode=plugin not supported on %s\n", platform)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user