diff options
author | Jakob Unterwurzacher | 2025-03-19 16:49:21 +0100 |
---|---|---|
committer | Jakob Unterwurzacher | 2025-03-19 16:49:21 +0100 |
commit | 13773f47d6d9aa72da034f2011a84248cbd2f46d (patch) | |
tree | e2efd3e9e15f9dd6562c5172cb5fc5e94ea51e3f | |
parent | 50eb371e9051fbcaef5aeb26198a3fd6b56061db (diff) |
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.
-rwxr-xr-x | crossbuild.bash | 7 | ||||
-rwxr-xr-x | test.bash | 1 |
2 files changed, 1 insertions, 7 deletions
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 @@ -22,7 +22,6 @@ else fi cd "$(dirname "$0")" -export GO111MODULE=on MYNAME=$(basename "$0") TESTDIR=$TMPDIR/gocryptfs-test-parent-$UID mkdir -p "$TESTDIR" |