mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-24 08:49:29 +00:00
build: restrict BMI2 keccak assembly to amd64 and !purego
This commit is contained in:
parent
3ce65a9593
commit
ce8fea8f93
2 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
// Code generated by gen_keccakf_bmi2.go. DO NOT EDIT.
|
||||
|
||||
//go:build !purego && amd64
|
||||
//go:build amd64 && !purego
|
||||
|
||||
#include "textflag.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ func main() {
|
|||
|
||||
p("// Code generated by gen_keccakf_bmi2.go. DO NOT EDIT.")
|
||||
p("")
|
||||
p("//go:build !purego")
|
||||
p("//go:build amd64 && !purego")
|
||||
p("")
|
||||
p("#include \"textflag.h\"")
|
||||
p("")
|
||||
|
|
|
|||
Loading…
Reference in a new issue