diff --git a/metrics/cpu_disabled.go b/metrics/cpu_disabled.go index 8404b0edd4..2c18f825b0 100644 --- a/metrics/cpu_disabled.go +++ b/metrics/cpu_disabled.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 ios || js || wasip1 -// +build ios js wasip1 +//go:build ios || js || wasip1 || tinygo.riscv +// +build ios js wasip1 tinygo.riscv package metrics diff --git a/metrics/cpu_enabled.go b/metrics/cpu_enabled.go index 838c32fad8..daf7d8856d 100644 --- a/metrics/cpu_enabled.go +++ b/metrics/cpu_enabled.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 !ios && !js && !wasip1 -// +build !ios,!js,!wasip1 +//go:build !ios && !js && !wasip1 && !tinygo.riscv +// +build !ios,!js,!wasip1,!tinygo.riscv package metrics