mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2025-03-09 13:13:32 +00:00
all: drop 386 support for darwin
Darwin 1.15 no longer supports i386 code execution. Stop supporting it. See https://support.apple.com/en-us/HT208436 See http://golang.org/issue/34749 Change-Id: I2d1f3cb933ee2555aa95c72b1cba7ca3847e0146 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/253618 Reviewed-by: Damien Neil <dneil@google.com>
This commit is contained in:
parent
0fd4f3a506
commit
5ebc0b43aa
@ -41,7 +41,6 @@ var (
|
||||
|
||||
staticcheckVersion = "2020.1.4"
|
||||
staticcheckSHA256s = map[string]string{
|
||||
"darwin/386": "05ccb332a0c5ba812af165b0e69ffe317cb3e8bb10b0f4b4c4eaaf956ba9a50b",
|
||||
"darwin/amd64": "5706d101426c025e8f165309e0cb2932e54809eb035ff23ebe19df0f810699d8",
|
||||
"linux/386": "e4dbf94e940678ae7108f0d22c7c2992339bc10a8fb384e7e734b1531a429a1c",
|
||||
"linux/amd64": "09d2c2002236296de2c757df111fe3ae858b89f9e183f645ad01f8135c83c519",
|
||||
@ -390,6 +389,11 @@ func mustHandleFlags(t *testing.T) {
|
||||
v := version.String()
|
||||
for _, goos := range []string{"linux", "darwin", "windows"} {
|
||||
for _, goarch := range []string{"386", "amd64"} {
|
||||
// Avoid Darwin since 10.15 dropped support for i386.
|
||||
if goos == "darwin" && goarch == "386" {
|
||||
continue
|
||||
}
|
||||
|
||||
binPath := filepath.Join("bin", fmt.Sprintf("protoc-gen-go.%v.%v.%v", v, goos, goarch))
|
||||
|
||||
// Build the binary.
|
||||
|
Loading…
x
Reference in New Issue
Block a user