From 5f34763d0f6fb90776b9dded9c3fe3c83c4439da Mon Sep 17 00:00:00 2001 From: Kevaundray Wedderburn Date: Sat, 16 Aug 2025 17:49:09 +0100 Subject: [PATCH] use tinygo build flag for consistency --- metrics/cputime_nop.go | 4 ++-- metrics/cputime_unix.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/metrics/cputime_nop.go b/metrics/cputime_nop.go index ba0203eca5..a6285ec10a 100644 --- a/metrics/cputime_nop.go +++ b/metrics/cputime_nop.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 windows || js || riscv -// +build windows js riscv +//go:build windows || js || tinygo +// +build windows js tinygo package metrics diff --git a/metrics/cputime_unix.go b/metrics/cputime_unix.go index a75222b276..5db38b16a2 100644 --- a/metrics/cputime_unix.go +++ b/metrics/cputime_unix.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 !windows && !js && !wasip1 && !riscv -// +build !windows,!js,!wasip1,!riscv +//go:build !windows && !js && !wasip1 && !tinygo +// +build !windows,!js,!wasip1,!tinygo package metrics