Skip to content

Commit

Permalink
internal/cpu: fix arm64 build
Browse files Browse the repository at this point in the history
I submitted two CLs which broke the build. Add temporary placeholder
with false bools to fix the build and restore old behavior.

Updates #22718 (details of why it broke)

Change-Id: I1f30624e14f631a95f4eff5aae462f1091f723a2
Reviewed-on: https://go-review.googlesource.com/77590
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
  • Loading branch information
bradfitz committed Nov 14, 2017
1 parent 7b8a7f8 commit b3ee6f0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/internal/cpu/cpu_arm64.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit b3ee6f0

Please sign in to comment.