build: restrict BMI2 keccak assembly to amd64 and !purego

This commit is contained in:
Sahil-4555 2026-03-14 15:01:18 +05:30 committed by Sahil Sojitra
parent 3ce65a9593
commit ce8fea8f93
2 changed files with 2 additions and 2 deletions

View file

@ -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"

View file

@ -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("")