...
1# Test that the correct default GOEXPERIMENT is used when cross
2# building with GOENV (#46815).
3
4# Unset variables set by the TestScript harness. Users typically won't
5# explicitly configure these, and #46815 doesn't repro if they are.
6env GOOS=
7env GOARCH=
8env GOEXPERIMENT=
9
10env GOENV=windows-amd64
11go build internal/abi
12
13env GOENV=ios-arm64
14go build internal/abi
15
16env GOENV=linux-mips
17go build internal/abi
18
19-- windows-amd64 --
20GOOS=windows
21GOARCH=amd64
22
23-- ios-arm64 --
24GOOS=ios
25GOARCH=arm64
26
27-- linux-mips --
28GOOS=linux
29GOARCH=mips
View as plain text