Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsFirstClass ¶
IsFirstClass reports whether the given port is first class in the upcoming release.
func LatestFirstClassPorts ¶
LatestFirstClassPorts returns the first class ports in the upcoming release.
Types ¶
type ReleaseTargets ¶
ReleaseTargets maps a target name (usually but not always $GOOS-$GOARCH) to its target.
func TargetsForGo1Point ¶
func TargetsForGo1Point(x int) ReleaseTargets
TargetsForGo1Point returns the ReleaseTargets that apply to the given version.
func TargetsForVersion ¶
func TargetsForVersion(versionStr string) (ReleaseTargets, bool)
TargetsForVersion returns the ReleaseTargets for a given Go version string, e.g. go1.18.1.
func (ReleaseTargets) FirstClassPorts ¶
func (rt ReleaseTargets) FirstClassPorts() map[OSArch]bool
type Target ¶
type Target struct { Name string GOOS, GOARCH string SecondClass bool // A port that is not a first class port. See go.dev/wiki/PortingPolicy#first-class-ports. ExtraEnv []string // Extra environment variables set during toolchain build. // For Darwin targets, the minimum targeted version, e.g. 10.13 or 13. MinMacOSVersion string }
Click to show internal directories.
Click to hide internal directories.