...

Source file src/internal/platform/zosarch.go

Documentation: internal/platform

     1  // Code generated by go test internal/platform -fix. DO NOT EDIT.
     2  
     3  // To change the information in this file, edit the cgoEnabled and/or firstClass
     4  // maps in cmd/dist/build.go, then run 'go generate internal/platform'.
     5  
     6  package platform
     7  
     8  // List is the list of all valid GOOS/GOARCH combinations,
     9  // including known-broken ports.
    10  var List = []OSArch{
    11  	{"aix", "ppc64"},
    12  	{"android", "386"},
    13  	{"android", "amd64"},
    14  	{"android", "arm"},
    15  	{"android", "arm64"},
    16  	{"darwin", "amd64"},
    17  	{"darwin", "arm64"},
    18  	{"dragonfly", "amd64"},
    19  	{"freebsd", "386"},
    20  	{"freebsd", "amd64"},
    21  	{"freebsd", "arm"},
    22  	{"freebsd", "arm64"},
    23  	{"freebsd", "riscv64"},
    24  	{"illumos", "amd64"},
    25  	{"ios", "amd64"},
    26  	{"ios", "arm64"},
    27  	{"js", "wasm"},
    28  	{"linux", "386"},
    29  	{"linux", "amd64"},
    30  	{"linux", "arm"},
    31  	{"linux", "arm64"},
    32  	{"linux", "loong64"},
    33  	{"linux", "mips"},
    34  	{"linux", "mips64"},
    35  	{"linux", "mips64le"},
    36  	{"linux", "mipsle"},
    37  	{"linux", "ppc64"},
    38  	{"linux", "ppc64le"},
    39  	{"linux", "riscv64"},
    40  	{"linux", "s390x"},
    41  	{"linux", "sparc64"},
    42  	{"netbsd", "386"},
    43  	{"netbsd", "amd64"},
    44  	{"netbsd", "arm"},
    45  	{"netbsd", "arm64"},
    46  	{"openbsd", "386"},
    47  	{"openbsd", "amd64"},
    48  	{"openbsd", "arm"},
    49  	{"openbsd", "arm64"},
    50  	{"openbsd", "mips64"},
    51  	{"openbsd", "ppc64"},
    52  	{"openbsd", "riscv64"},
    53  	{"plan9", "386"},
    54  	{"plan9", "amd64"},
    55  	{"plan9", "arm"},
    56  	{"solaris", "amd64"},
    57  	{"wasip1", "wasm"},
    58  	{"windows", "386"},
    59  	{"windows", "amd64"},
    60  	{"windows", "arm"},
    61  	{"windows", "arm64"},
    62  }
    63  
    64  var distInfo = map[OSArch]osArchInfo{
    65  	{"aix", "ppc64"}:       {CgoSupported: true},
    66  	{"android", "386"}:     {CgoSupported: true},
    67  	{"android", "amd64"}:   {CgoSupported: true},
    68  	{"android", "arm"}:     {CgoSupported: true},
    69  	{"android", "arm64"}:   {CgoSupported: true},
    70  	{"darwin", "amd64"}:    {CgoSupported: true, FirstClass: true},
    71  	{"darwin", "arm64"}:    {CgoSupported: true, FirstClass: true},
    72  	{"dragonfly", "amd64"}: {CgoSupported: true},
    73  	{"freebsd", "386"}:     {CgoSupported: true},
    74  	{"freebsd", "amd64"}:   {CgoSupported: true},
    75  	{"freebsd", "arm"}:     {CgoSupported: true},
    76  	{"freebsd", "arm64"}:   {CgoSupported: true},
    77  	{"freebsd", "riscv64"}: {CgoSupported: true},
    78  	{"illumos", "amd64"}:   {CgoSupported: true},
    79  	{"ios", "amd64"}:       {CgoSupported: true},
    80  	{"ios", "arm64"}:       {CgoSupported: true},
    81  	{"js", "wasm"}:         {},
    82  	{"linux", "386"}:       {CgoSupported: true, FirstClass: true},
    83  	{"linux", "amd64"}:     {CgoSupported: true, FirstClass: true},
    84  	{"linux", "arm"}:       {CgoSupported: true, FirstClass: true},
    85  	{"linux", "arm64"}:     {CgoSupported: true, FirstClass: true},
    86  	{"linux", "loong64"}:   {CgoSupported: true},
    87  	{"linux", "mips"}:      {CgoSupported: true},
    88  	{"linux", "mips64"}:    {CgoSupported: true},
    89  	{"linux", "mips64le"}:  {CgoSupported: true},
    90  	{"linux", "mipsle"}:    {CgoSupported: true},
    91  	{"linux", "ppc64"}:     {},
    92  	{"linux", "ppc64le"}:   {CgoSupported: true},
    93  	{"linux", "riscv64"}:   {CgoSupported: true},
    94  	{"linux", "s390x"}:     {CgoSupported: true},
    95  	{"linux", "sparc64"}:   {CgoSupported: true, Broken: true},
    96  	{"netbsd", "386"}:      {CgoSupported: true},
    97  	{"netbsd", "amd64"}:    {CgoSupported: true},
    98  	{"netbsd", "arm"}:      {CgoSupported: true},
    99  	{"netbsd", "arm64"}:    {CgoSupported: true},
   100  	{"openbsd", "386"}:     {CgoSupported: true},
   101  	{"openbsd", "amd64"}:   {CgoSupported: true},
   102  	{"openbsd", "arm"}:     {CgoSupported: true},
   103  	{"openbsd", "arm64"}:   {CgoSupported: true},
   104  	{"openbsd", "mips64"}:  {CgoSupported: true, Broken: true},
   105  	{"openbsd", "ppc64"}:   {},
   106  	{"openbsd", "riscv64"}: {CgoSupported: true},
   107  	{"plan9", "386"}:       {},
   108  	{"plan9", "amd64"}:     {},
   109  	{"plan9", "arm"}:       {},
   110  	{"solaris", "amd64"}:   {CgoSupported: true},
   111  	{"wasip1", "wasm"}:     {},
   112  	{"windows", "386"}:     {CgoSupported: true, FirstClass: true},
   113  	{"windows", "amd64"}:   {CgoSupported: true, FirstClass: true},
   114  	{"windows", "arm"}:     {},
   115  	{"windows", "arm64"}:   {CgoSupported: true},
   116  }
   117  

View as plain text