]> Cypherpunks repositories - gostls13.git/commit
runtime: initialise cpu.HWCap on openbsd/arm64
authorJoel Sing <joel@sing.id.au>
Sun, 28 Apr 2019 07:59:05 +0000 (17:59 +1000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Mon, 29 Apr 2019 17:42:27 +0000 (17:42 +0000)
commit08b956f37846bd317aace534aa98dcd9353d868b
treee6981411a45035cba02e5ba363e7419f1d1686ba
parent9308637e3c2babcb3695d9f9673cf2a2b840362d
runtime: initialise cpu.HWCap on openbsd/arm64

OpenBSD does not provide auxv, however we still need to initialise cpu.HWCap.
For now initialise it to the bare minimum, until some form of CPU capability
detection is implemented or becomes available - see issue #31746.

Updates #31656

Change-Id: I68c3c069319fe60dc873f46def2a67c9f3d937d5
Reviewed-on: https://go-review.googlesource.com/c/go/+/174129
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/runtime/auxv_none.go
src/runtime/os_openbsd_arm64.go