mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 21:31:37 +00:00
crypto/bn256: fix staticcheck warning SA9009: ineffectual compiler directive
This commit is contained in:
parent
b4fe994eff
commit
95f8abb765
1 changed files with 3 additions and 2 deletions
|
|
@ -1,3 +1,4 @@
|
|||
//go:build (amd64 && !generic) || (arm64 && !generic)
|
||||
// +build amd64,!generic arm64,!generic
|
||||
|
||||
package bn256
|
||||
|
|
@ -9,10 +10,10 @@ import (
|
|||
"golang.org/x/sys/cpu"
|
||||
)
|
||||
|
||||
//nolint:varcheck
|
||||
//nolint:varcheck,unused,deadcode
|
||||
var hasBMI2 = cpu.X86.HasBMI2
|
||||
|
||||
// go:noescape
|
||||
//go:noescape
|
||||
func gfpNeg(c, a *gfP)
|
||||
|
||||
//go:noescape
|
||||
|
|
|
|||
Loading…
Reference in a new issue