go/build.Context.Compiler (field)
18 uses
go/build (current package)
build.go#L48: Compiler string // compiler to assume when computing target paths
build.go#L254: if ctxt.GOROOT != "" && ctxt.Compiler != "gccgo" {
build.go#L302: c.Compiler = runtime.Compiler
build.go#L536: switch ctxt.Compiler {
build.go#L543: pkgerr = fmt.Errorf("import %q: unknown compiler %q", path, ctxt.Compiler)
build.go#L546: switch ctxt.Compiler {
build.go#L588: if ctxt.GOROOT != "" && ctxt.Compiler != "gccgo" {
build.go#L660: if ctxt.Compiler != "gccgo" && searchVendor(ctxt.GOROOT, true) {
build.go#L682: if ctxt.Compiler != "gccgo" {
build.go#L695: if ctxt.Compiler == "gccgo" && goroot.IsStandardPackage(ctxt.GOROOT, ctxt.Compiler, path) {
build.go#L718: if ctxt.Compiler != "gccgo" {
build.go#L771: if ctxt.Compiler == "gccgo" && p.Goroot {
build.go#L787: if ctxt.Compiler == "gccgo" && p.Goroot {
build.go#L1144: cmd := exec.Command("go", "list", "-e", "-compiler="+ctxt.Compiler, "-tags="+strings.Join(ctxt.BuildTags, ","), "-installsuffix="+ctxt.InstallSuffix, "-f={{.Dir}}\n{{.ImportPath}}\n{{.Root}}\n{{.Goroot}}\n{{if .Error}}{{.Error}}{{end}}\n", "--", path)
build.go#L1882: if name == ctxt.GOOS || name == ctxt.GOARCH || name == ctxt.Compiler {
golang.org/x/pkgsite/internal/fetch
load.go#L315: Compiler: build.Default.Compiler,
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |