MCPcopy
hub / github.com/tinygo-org/tinygo / BuildInfo

Struct BuildInfo

src/runtime/debug/debug.go:46–52  ·  view source on GitHub ↗

BuildInfo represents the build information read from the running binary.

Source from the content-addressed store, hash-verified

44// BuildInfo represents the build information read from
45// the running binary.
46type BuildInfo struct {
47 GoVersion string // version of the Go toolchain that built the binary, e.g. "go1.19.2"
48 Path string // The main package path
49 Main Module // The module containing the main package
50 Deps []*Module // Module dependencies
51 Settings []BuildSetting
52}
53
54type BuildSetting struct {
55 // Key and Value describe the build setting.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected