package platform

Import Path
	internal/platform (on go.dev)

Dependency Relation
	imports 0 packages, and imported by 2 packages

Involved Source Files supported.go zosarch.go
Package-Level Type Names (only one)
/* sort by: | */
An OSArch is a pair of GOOS and GOARCH values indicating a platform. GOARCH string GOOS string ( OSArch) String() string OSArch : expvar.Var OSArch : fmt.Stringer
Package-Level Functions (total 13)
ASanSupported reports whether goos/goarch supports the address sanitizer option.
Broken reportsr whether goos/goarch is considered a broken port. (See https://go.dev/wiki/PortingPolicy#broken-ports.)
BuildModeSupported reports whether goos/goarch supports the given build mode using the given compiler. There is a copy of this function in cmd/dist/test.go.
CgoSupported reports whether goos/goarch supports cgo.
DefaultPIE reports whether goos/goarch produces a PIE binary when using the "default" buildmode. On Windows this is affected by -race, so force the caller to pass that in to centralize that choice.
ExecutableHasDWARF reports whether the linked executable includes DWARF symbols on goos/goarch.
FirstClass reports whether goos/goarch is considered a “first class” port. (See https://go.dev/wiki/PortingPolicy#first-class-ports.)
FuzzInstrumented reports whether fuzzing on goos/goarch uses coverage instrumentation. (FuzzInstrumented implies FuzzSupported.)
FuzzSupported reports whether goos/goarch supports fuzzing ('go test -fuzz=.').
MSanSupported reports whether goos/goarch supports the memory sanitizer option.
MustLinkExternal reports whether goos/goarch requires external linking with or without cgo dependencies.
RaceDetectorSupported reports whether goos/goarch supports the race detector. There is a copy of this function in cmd/dist/test.go. Race detector only supports 48-bit VMA on arm64. But it will always return true for arm64, because we don't have VMA size information during the compile time.
Package-Level Variables (only one)
List is the list of all valid GOOS/GOARCH combinations, including known-broken ports.