package platform
Import Path
internal/platform (on go.dev)
Dependency Relation
imports 0 packages, and imported by one package
Involved Source Files
supported.go
Package-Level Functions (total 8)
ASanSupported reports whether goos/goarch supports the address
sanitizer option.
There is a copy of this function in misc/cgo/testsanitizers/cc_test.go.
BuildModeSupported reports whether goos/goarch supports the given build mode
using the given compiler.
FuzzInstrumented reports whether fuzzing on goos/goarch uses coverage
instrumentation. (FuzzInstrumented implies FuzzSupported.)
FuzzSupported reports whether goos/goarch supports fuzzing
('go test -fuzz=.').
func InternalLinkPIESupported(goos, goarch string) bool
MSanSupported reports whether goos/goarch supports the memory
sanitizer option.
There is a copy of this function in misc/cgo/testsanitizers/cc_test.go.
MustLinkExternal reports whether goos/goarch requires external linking.
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.
![]() |
The pages are generated with Golds v0.5.5. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |