Source file src/go/build/gccgo.go
Documentation: go/build
1 // Copyright 2018 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 //go:build gccgo 6 // +build gccgo 7 8 package build 9 10 import "runtime" 11 12 // getToolDir returns the default value of ToolDir. 13 func getToolDir() string { 14 return envOr("GCCGOTOOLDIR", runtime.GCCGOTOOLDIR) 15 } 16