Skip to content

Commit a113497

Browse files
authored
tests/fuzzers/bls12381: deactivate BLS fuzzer when CGO_ENABLED=0 (#28653)
tests/fuzzers/bls12381: deactivate fuzzer when CGO_ENABLED=0
1 parent 55b483d commit a113497

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

tests/fuzzers/bls12381/bls12381_fuzz.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
// You should have received a copy of the GNU Lesser General Public License
1515
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
1616

17+
//go:build cgo
18+
// +build cgo
19+
1720
package bls
1821

1922
import (

tests/fuzzers/bls12381/bls12381_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
// You should have received a copy of the GNU Lesser General Public License
1515
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
1616

17+
//go:build cgo
18+
// +build cgo
19+
1720
package bls
1821

1922
import "testing"

0 commit comments

Comments
 (0)