Documentation
¶
Index ¶
- func AppendNativeBuildEnv(env []string) []string
- func BuildGoBinray(goroot string, flags []string, outputName string) (string, error)
- func BuildGoDebugBinary(goroot string) (string, error)
- func BuildGoToolCompileDebugBinary(goroot string) (string, error)
- func BuildNativeBinary(goroot string, dir string, flags []string, outputDir string, outputName string, ...) (string, error)
- func BuildToolBinray(goroot string, flags []string, arg string, outputName string) (string, error)
- func EnvForNative(env []string, goroot string) []string
- func GetToolPath(goroot string) (string, error)
- func MakeGorootEnv(env []string, goroot string) []string
- func RebuildGoBinary(goroot string) error
- func RebuildGoToolCompile(goroot string) error
- func RebuildGoToolCover(goroot string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendNativeBuildEnv ¶
this ensure we do not build cross-platform while building native binary
func BuildGoBinray ¶ added in v1.1.4
func BuildGoDebugBinary ¶ added in v1.1.4
debug
func BuildGoToolCompileDebugBinary ¶ added in v1.1.4
func BuildNativeBinary ¶ added in v1.1.3
func BuildToolBinray ¶ added in v1.1.4
func EnvForNative ¶ added in v1.1.3
see https://github.com/xhd2015/xgo/issues/320 the GOEXPERIMENT,GOOS and GOARCH could affect building process. we make a fresh env
func MakeGorootEnv ¶
MakeGorootEnv makes a new env with GOROOT and PATH set
func RebuildGoBinary ¶ added in v1.1.4
func RebuildGoToolCompile ¶ added in v1.1.4
func RebuildGoToolCover ¶ added in v1.1.4
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.