metrics: disable CPU metrics on riscv

This commit is contained in:
Ömer Faruk IRMAK 2025-06-03 14:36:33 +03:00
parent 91900e79ea
commit 2a84659f55
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.riscv
// +build ios js wasip1 // +build ios js wasip1 tinygo.riscv
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.riscv
// +build !ios,!js,!wasip1 // +build !ios,!js,!wasip1,!tinygo.riscv
package metrics package metrics