go/build.Context.GOROOT (field)

27 uses

	go/build (current package)
		build.go#L35: 	GOROOT string // Go root
		build.go#L222: 		if p == "" || p == ctxt.GOROOT {
		build.go#L254: 	if ctxt.GOROOT != "" && ctxt.Compiler != "gccgo" {
		build.go#L255: 		dir := ctxt.joinPath(ctxt.GOROOT, "src")
		build.go#L300: 	c.GOROOT = pathpkg.Clean(runtime.GOROOT())
		build.go#L571: 		if ctxt.GOROOT != "" {
		build.go#L572: 			root := ctxt.joinPath(ctxt.GOROOT, "src")
		build.go#L576: 				p.Root = ctxt.GOROOT
		build.go#L588: 				if ctxt.GOROOT != "" && ctxt.Compiler != "gccgo" {
		build.go#L589: 					if dir := ctxt.joinPath(ctxt.GOROOT, "src", sub); ctxt.isDir(dir) {
		build.go#L660: 			if ctxt.Compiler != "gccgo" && searchVendor(ctxt.GOROOT, true) {
		build.go#L671: 		if ctxt.GOROOT != "" {
		build.go#L678: 				_, gorootFirst = ctxt.hasSubdir(ctxt.GOROOT, srcDir)
		build.go#L681: 				dir := ctxt.joinPath(ctxt.GOROOT, "src", path)
		build.go#L684: 					binaryOnly = !isDir && mode&AllowBinary != 0 && pkga != "" && ctxt.isFile(ctxt.joinPath(ctxt.GOROOT, pkga))
		build.go#L688: 						p.Root = ctxt.GOROOT
		build.go#L695: 		if ctxt.Compiler == "gccgo" && goroot.IsStandardPackage(ctxt.GOROOT, ctxt.Compiler, path) {
		build.go#L696: 			p.Dir = ctxt.joinPath(ctxt.GOROOT, "src", path)
		build.go#L698: 			p.Root = ctxt.GOROOT
		build.go#L716: 		if ctxt.GOROOT != "" && tried.goroot == "" {
		build.go#L717: 			dir := ctxt.joinPath(ctxt.GOROOT, "src", path)
		build.go#L720: 				binaryOnly = !isDir && mode&AllowBinary != 0 && pkga != "" && ctxt.isFile(ctxt.joinPath(ctxt.GOROOT, pkga))
		build.go#L724: 					p.Root = ctxt.GOROOT
		build.go#L1092: 		if _, ok := ctxt.hasSubdir(filepath.Join(ctxt.GOROOT, "src"), absSrcDir); ok {
		build.go#L1098: 	if ctxt.GOROOT != "" {
		build.go#L1099: 		dir := ctxt.joinPath(ctxt.GOROOT, "src", path)
		build.go#L1161: 		"GOROOT="+ctxt.GOROOT,