...

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

Documentation: cmd/go/testdata/script

     1env GOOS=linux
     2
     3env GOARCH=amd64
     4env GOAMD64=v3
     5go list -f '{{context.ToolTags}}'
     6stdout 'amd64.v1 amd64.v2 amd64.v3'
     7
     8env GOARCH=arm
     9env GOARM=6
    10go list -f '{{context.ToolTags}}'
    11stdout 'arm.5 arm.6'
    12
    13env GOARCH=mips
    14env GOMIPS=hardfloat
    15go list -f '{{context.ToolTags}}'
    16stdout 'mips.hardfloat'
    17
    18env GOARCH=mips64
    19env GOMIPS=hardfloat
    20go list -f '{{context.ToolTags}}'
    21stdout 'mips64.hardfloat'
    22
    23env GOARCH=ppc64
    24env GOPPC64=power9
    25go list -f '{{context.ToolTags}}'
    26stdout 'ppc64.power8 ppc64.power9'
    27
    28env GOARCH=ppc64
    29env GOPPC64=power10
    30go list -f '{{context.ToolTags}}'
    31stdout 'ppc64.power8 ppc64.power9 ppc64.power10'
    32
    33env GOARCH=ppc64le
    34env GOPPC64=power9
    35go list -f '{{context.ToolTags}}'
    36stdout 'ppc64le.power8 ppc64le.power9'
    37
    38env GOARCH=ppc64le
    39env GOPPC64=power10
    40go list -f '{{context.ToolTags}}'
    41stdout 'ppc64le.power8 ppc64le.power9 ppc64le.power10'
    42
    43env GOARCH=386
    44env GO386=sse2
    45go list -f '{{context.ToolTags}}'
    46stdout '386.sse2'
    47
    48env GOARCH=wasm
    49env GOWASM=satconv
    50go list -f '{{context.ToolTags}}'
    51stdout 'wasm.satconv'
    52
    53-- go.mod --
    54module m
    55
    56-- p.go --
    57package p

View as plain text