go/build.Context.Compiler (field)
16 uses
go/build (current package)
build.go#L53: Compiler string // compiler to assume when computing target paths
build.go#L271: if ctxt.GOROOT != "" && ctxt.Compiler != "gccgo" {
build.go#L342: c.Compiler = runtime.Compiler
build.go#L591: switch ctxt.Compiler {
build.go#L598: pkgerr = fmt.Errorf("import %q: unknown compiler %q", path, ctxt.Compiler)
build.go#L601: switch ctxt.Compiler {
build.go#L643: if ctxt.GOROOT != "" && ctxt.Compiler != "gccgo" {
build.go#L715: if ctxt.Compiler != "gccgo" && ctxt.GOROOT != "" && searchVendor(ctxt.GOROOT, true) {
build.go#L737: if ctxt.Compiler != "gccgo" {
build.go#L749: if ctxt.Compiler == "gccgo" && goroot.IsStandardPackage(ctxt.GOROOT, ctxt.Compiler, path) {
build.go#L776: if ctxt.Compiler != "gccgo" {
build.go#L838: if ctxt.Compiler == "gccgo" && p.Goroot {
build.go#L854: if ctxt.Compiler == "gccgo" && p.Goroot {
build.go#L1234: cmd := exec.Command(goCmd, "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#L1968: if name == ctxt.GOOS || name == ctxt.GOARCH || name == ctxt.Compiler {