1
0
mirror of https://github.com/golang/go synced 2024-09-29 19:24:33 -06:00

internal/cpu: fix arm64 build

I submitted two CLs which broke the build. Add temporary placeholder
with false bools to fix the build and restore old behavior.

Updates golang/go#22718 (details of why it broke)

Change-Id: I1f30624e14f631a95f4eff5aae462f1091f723a2
Reviewed-on: https://go-review.googlesource.com/77590
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Brad Fitzpatrick 2017-11-14 18:27:15 +00:00
parent 7b8a7f8272
commit b3ee6f0c2e

View File

@ -5,3 +5,10 @@
package cpu
const CacheLineSize = 64
// TODO: delete this once https://go-review.googlesource.com/c/go/+/76490 lands.
// These will just be false for now.
var ARM64 struct {
HasSHA1 bool
HasSHA2 bool
}