From 77ffcc039e799415cd357e720c64242c2bd37dd4 Mon Sep 17 00:00:00 2001 From: Ryan Tinianov Date: Wed, 29 Jan 2025 13:22:14 -0500 Subject: [PATCH] Revert rlp/unsafe.go as wasm supports pointers --- rlp/safe.go | 4 ++-- rlp/unsafe.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/rlp/safe.go b/rlp/safe.go index 827e04bf8a..3c910337b6 100644 --- a/rlp/safe.go +++ b/rlp/safe.go @@ -14,8 +14,8 @@ // You should have received a copy of the GNU Lesser General Public License // along with the go-ethereum library. If not, see . -//go:build nacl || js || wasip1 || !cgo -// +build nacl js wasip1 !cgo +//go:build nacl || js || !cgo +// +build nacl js !cgo package rlp diff --git a/rlp/unsafe.go b/rlp/unsafe.go index e1e7ca19a2..10868caaf2 100644 --- a/rlp/unsafe.go +++ b/rlp/unsafe.go @@ -14,8 +14,8 @@ // You should have received a copy of the GNU Lesser General Public License // along with the go-ethereum library. If not, see . -//go:build !nacl && !js && !wasip1 && cgo -// +build !nacl,!js,!wasip1,cgo +//go:build !nacl && !js && cgo +// +build !nacl,!js,cgo package rlp