Commit b3ee6f0c authored by Brad Fitzpatrick's avatar Brad Fitzpatrick

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/77590Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 7b8a7f82
......@@ -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
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment