test.bash, crossbuild.bash: drop old Go version kludges · rfjakob/gocryptfs@13773f4

Original file line numberDiff line numberDiff line change

@@ -15,7 +15,6 @@ function compile_tests {

1515
1616

set -eux

1717
18-

export GO111MODULE=on

1918

export CGO_ENABLED=0

2019
2120

GOOS=linux GOARCH=amd64 build

@@ -30,8 +29,4 @@ GOOS=darwin GOARCH=amd64 build

3029

time GOOS=darwin GOARCH=amd64 compile_tests

3130
3231

# MacOS on Apple Silicon M1.

33-

# Go 1.16 added support for the M1 and added ios/arm64,

34-

# so we use this to check if we should attempt a build.

35-

if go tool dist list | grep ios/arm64 ; then

36-

GOOS=darwin GOARCH=arm64 build

37-

fi

32+

GOOS=darwin GOARCH=arm64 build