From 3ce65a9593ca927cdc0a98d7fad44d8d282e6e19 Mon Sep 17 00:00:00 2001 From: Sahil-4555 Date: Sat, 14 Mar 2026 11:24:45 +0530 Subject: [PATCH] build: restrict BMI2 keccak assembly to amd64 and !purego --- crypto/keccak/keccakf_amd64_bmi2.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/keccak/keccakf_amd64_bmi2.s b/crypto/keccak/keccakf_amd64_bmi2.s index 1cec6e21b5..52a6ba6a10 100644 --- a/crypto/keccak/keccakf_amd64_bmi2.s +++ b/crypto/keccak/keccakf_amd64_bmi2.s @@ -1,6 +1,6 @@ // Code generated by gen_keccakf_bmi2.go. DO NOT EDIT. -//go:build !purego +//go:build !purego && amd64 #include "textflag.h"