Documentation
¶
Overview ¶
Package goenv returns environment variables that are used in various parts of the compiler. You can query it manually with the `tinygo env` subcommand.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Keys = []string{
"GOOS",
"GOARCH",
"GOROOT",
"GOPATH",
"GOCACHE",
"CGO_ENABLED",
"TINYGOROOT",
}
Keys is a slice of all available environment variable keys.
View Source
var TINYGOROOT string
TINYGOROOT is the path to the final location for checking tinygo files. If unset (by a -X ldflag), then sourceDir() will fallback to the original build directory.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.