From b4bd73199677c28cfda75d3723759fff1912259c Mon Sep 17 00:00:00 2001 From: Sun Yimin Date: Mon, 24 Jul 2023 13:18:08 +0800 Subject: [PATCH] sm9/bn256: fix arm64 issue --- sm9/bn256/gfp2_g1_generic.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sm9/bn256/gfp2_g1_generic.go b/sm9/bn256/gfp2_g1_generic.go index 83fa9558..f6655783 100644 --- a/sm9/bn256/gfp2_g1_generic.go +++ b/sm9/bn256/gfp2_g1_generic.go @@ -1,5 +1,5 @@ -//go:build (!amd64) || purego -// +build !amd64 purego +//go:build (!amd64 && !arm64) || purego +// +build !amd64,!arm64 purego package bn256