metrics: disable CPU metrics on tinygo (#31953)

This commit is contained in:
Ömer Faruk Irmak 2025-06-04 01:19:23 +03:00 committed by GitHub
parent 778430a689
commit 500ed3b22c
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 // 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/>. // along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
//go:build ios || js || wasip1 //go:build ios || js || wasip1 || tinygo
// +build ios js wasip1 // +build ios js wasip1 tinygo
package metrics package metrics

View file

@ -14,8 +14,8 @@
// You should have received a copy of the GNU Lesser General Public License // 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/>. // along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
//go:build !ios && !js && !wasip1 //go:build !ios && !js && !wasip1 && !tinygo
// +build !ios,!js,!wasip1 // +build !ios,!js,!wasip1,!tinygo
package metrics package metrics