From 500ed3b22cf939e122f7cf18f3655bca2f9c4b99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96mer=20Faruk=20Irmak?= Date: Wed, 4 Jun 2025 01:19:23 +0300 Subject: [PATCH] metrics: disable CPU metrics on tinygo (#31953) --- 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..37c3e1b8f7 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 +// +build ios js wasip1 tinygo package metrics diff --git a/metrics/cpu_enabled.go b/metrics/cpu_enabled.go index 838c32fad8..37c23cad1a 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 +// +build !ios,!js,!wasip1,!tinygo package metrics