1
2
3 package cfg
4
5 var OSArchSupportsCgo = map[string]bool{
6 "aix/ppc64": true,
7 "android/386": true,
8 "android/amd64": true,
9 "android/arm": true,
10 "android/arm64": true,
11 "darwin/amd64": true,
12 "darwin/arm64": true,
13 "dragonfly/amd64": true,
14 "freebsd/386": true,
15 "freebsd/amd64": true,
16 "freebsd/arm": true,
17 "freebsd/arm64": true,
18 "illumos/amd64": true,
19 "ios/amd64": true,
20 "ios/arm64": true,
21 "js/wasm": false,
22 "linux/386": true,
23 "linux/amd64": true,
24 "linux/arm": true,
25 "linux/arm64": true,
26 "linux/mips": true,
27 "linux/mips64": true,
28 "linux/mips64le": true,
29 "linux/mipsle": true,
30 "linux/ppc64": false,
31 "linux/ppc64le": true,
32 "linux/riscv64": true,
33 "linux/s390x": true,
34 "linux/sparc64": true,
35 "netbsd/386": true,
36 "netbsd/amd64": true,
37 "netbsd/arm": true,
38 "netbsd/arm64": true,
39 "openbsd/386": true,
40 "openbsd/amd64": true,
41 "openbsd/arm": true,
42 "openbsd/arm64": true,
43 "openbsd/mips64": true,
44 "plan9/386": false,
45 "plan9/amd64": false,
46 "plan9/arm": false,
47 "solaris/amd64": true,
48 "windows/386": true,
49 "windows/amd64": true,
50 "windows/arm": false,
51 "windows/arm64": true,
52 }
53
View as plain text