Skip to content

Commit a53fdf1

Browse files
authored
crypto: use pure Go signature implementation in tinygo (#31878)
tinygo is having problems compiling the C implementation
1 parent 1fd806d commit a53fdf1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

crypto/signature_cgo.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
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 !nacl && !js && !wasip1 && cgo && !gofuzz
18-
// +build !nacl,!js,!wasip1,cgo,!gofuzz
17+
//go:build !nacl && !js && !wasip1 && cgo && !gofuzz && !tinygo
18+
// +build !nacl,!js,!wasip1,cgo,!gofuzz,!tinygo
1919

2020
package crypto
2121

crypto/signature_nocgo.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
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 nacl || js || wasip1 || !cgo || gofuzz
18-
// +build nacl js wasip1 !cgo gofuzz
17+
//go:build nacl || js || wasip1 || !cgo || gofuzz || tinygo
18+
// +build nacl js wasip1 !cgo gofuzz tinygo
1919

2020
package crypto
2121

0 commit comments

Comments
 (0)