go/build.Context.Compiler (field)
16 uses
go/build (current package)
build.go#L50: Compiler string // compiler to assume when computing target paths
build.go#L259: if ctxt.GOROOT != "" && ctxt.Compiler != "gccgo" {
build.go#L307: c.Compiler = runtime.Compiler
build.go#L551: switch ctxt.Compiler {
build.go#L558: pkgerr = fmt.Errorf("import %q: unknown compiler %q", path, ctxt.Compiler)
build.go#L561: switch ctxt.Compiler {
build.go#L603: if ctxt.GOROOT != "" && ctxt.Compiler != "gccgo" {
build.go#L675: if ctxt.Compiler != "gccgo" && searchVendor(ctxt.GOROOT, true) {
build.go#L697: if ctxt.Compiler != "gccgo" {
build.go#L710: if ctxt.Compiler == "gccgo" && goroot.IsStandardPackage(ctxt.GOROOT, ctxt.Compiler, path) {
build.go#L733: if ctxt.Compiler != "gccgo" {
build.go#L786: if ctxt.Compiler == "gccgo" && p.Goroot {
build.go#L802: if ctxt.Compiler == "gccgo" && p.Goroot {
build.go#L1168: 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#L1890: if name == ctxt.GOOS || name == ctxt.GOARCH || name == ctxt.Compiler {