From 2a84659f55f28467364c75e57614284df4134e04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96mer=20Faruk=20IRMAK?= Date: Tue, 3 Jun 2025 14:36:33 +0300 Subject: [PATCH] metrics: disable CPU metrics on riscv --- metrics/cpu_disabled.go | 4 ++-- metrics/cpu_enabled.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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