We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5d470fa + 7119a2a commit 4bec2dbCopy full SHA for 4bec2db
1 file changed
platforms/cpuinfo.go
@@ -74,8 +74,8 @@ func getCPUInfo(pattern string) (info string, err error) {
74
}
75
76
func getCPUVariant() string {
77
- if runtime.GOOS == "windows" {
78
- // Windows only supports v7 for ARM32 and v8 for ARM64 and so we can use
+ if runtime.GOOS == "windows" || runtime.GOOS == "darwin" {
+ // Windows/Darwin only supports v7 for ARM32 and v8 for ARM64 and so we can use
79
// runtime.GOARCH to determine the variants
80
var variant string
81
switch runtime.GOARCH {
0 commit comments