...

Text file src/cmd/go/testdata/script/test_android_issue62123.txt

Documentation: cmd/go/testdata/script

     1env GOOS=android GOARCH=amd64 CGO_ENABLED=0
     2
     3! go build -o $devnull cmd/buildid
     4stderr 'android/amd64 requires external \(cgo\) linking, but cgo is not enabled'
     5! stderr 'cannot find runtime/cgo'
     6
     7! go test -c -o $devnull os
     8stderr '# os\nandroid/amd64 requires external \(cgo\) linking, but cgo is not enabled'
     9! stderr 'cannot find runtime/cgo'
    10
    11env GOOS=ios GOARCH=arm64 CGO_ENABLED=0
    12
    13! go build -o $devnull cmd/buildid
    14stderr 'ios/arm64 requires external \(cgo\) linking, but cgo is not enabled'
    15! stderr 'cannot find runtime/cgo'
    16
    17! go test -c -o $devnull os
    18stderr '# os\nios/arm64 requires external \(cgo\) linking, but cgo is not enabled'
    19! stderr 'cannot find runtime/cgo'

View as plain text