...
Source file
src/go/build/zcgo.go
1
2
3 package build
4
5 const defaultCGO_ENABLED = ""
6
7 var cgoEnabled = map[string]bool{
8 "aix/ppc64": true,
9 "android/386": true,
10 "android/amd64": true,
11 "android/arm": true,
12 "android/arm64": true,
13 "darwin/amd64": true,
14 "darwin/arm64": true,
15 "dragonfly/amd64": true,
16 "freebsd/386": true,
17 "freebsd/amd64": true,
18 "freebsd/arm": true,
19 "freebsd/arm64": true,
20 "illumos/amd64": true,
21 "ios/amd64": true,
22 "ios/arm64": true,
23 "linux/386": true,
24 "linux/amd64": true,
25 "linux/arm": true,
26 "linux/arm64": true,
27 "linux/mips": true,
28 "linux/mips64": true,
29 "linux/mips64le": true,
30 "linux/mipsle": true,
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 "solaris/amd64": true,
45 "windows/386": true,
46 "windows/amd64": true,
47 "windows/arm64": true,
48 }
49
View as plain text