From 13773f47d6d9aa72da034f2011a84248cbd2f46d Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Wed, 19 Mar 2025 16:49:21 +0100 Subject: test.bash, crossbuild.bash: drop old Go version kludges GO111MODULE is default on with Go 1.16, same version that gained darwin/arm64 support. We only support Go 1.19 and up, so drop the kludges. --- crossbuild.bash | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'crossbuild.bash') diff --git a/crossbuild.bash b/crossbuild.bash index a9fc6ae..db4b05b 100755 --- a/crossbuild.bash +++ b/crossbuild.bash @@ -15,7 +15,6 @@ function compile_tests { set -eux -export GO111MODULE=on export CGO_ENABLED=0 GOOS=linux GOARCH=amd64 build @@ -30,8 +29,4 @@ GOOS=darwin GOARCH=amd64 build time GOOS=darwin GOARCH=amd64 compile_tests # MacOS on Apple Silicon M1. -# Go 1.16 added support for the M1 and added ios/arm64, -# so we use this to check if we should attempt a build. -if go tool dist list | grep ios/arm64 ; then - GOOS=darwin GOARCH=arm64 build -fi +GOOS=darwin GOARCH=arm64 build -- cgit v1.2.3