update golang.org/x/sys to allow building on openbsd/mips64

This commit is contained in:
Marten Seemann
2021-01-01 11:43:19 +08:00
parent 602212e983
commit 71f0702237
3 changed files with 3 additions and 3 deletions

View File

@@ -13,8 +13,6 @@ for dist in $(go tool dist list); do
# iOS builds require Cgo, see https://github.com/golang/go/issues/43343
# Cgo would then need a C cross compilation setup. Not worth the hassle.
if [[ "$goos" == "ios" ]]; then continue; fi
# see https://github.com/golang/go/issues/43442
if [[ "$GOVERSION" == "1.16" && "$goos" == "openbsd" && "$goarch" == "mips64" ]]; then continue; fi
echo "$dist"
GOOS=$goos GOARCH=$goarch go build -o main example/main.go