metrics: disable CPU metrics on tinygo #31953 (#1559)

Co-authored-by: Ömer Faruk Irmak <omerfirmak@gmail.com>
This commit is contained in:
Daniel Liu 2025-09-24 07:50:35 +08:00 committed by GitHub
parent 27c4be76fd
commit 057d840380
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View file

@ -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 <http://www.gnu.org/licenses/>.
//go:build ios || js || wasip1
// +build ios js wasip1
//go:build ios || js || wasip1 || tinygo
// +build ios js wasip1 tinygo
package metrics

View file

@ -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 <http://www.gnu.org/licenses/>.
//go:build !ios && !js && !wasip1
// +build !ios,!js,!wasip1
//go:build !ios && !js && !wasip1 && !tinygo
// +build !ios,!js,!wasip1,!tinygo
package metrics