Skip to content

Commit 28ae9f9

Browse files
omerfirmakhowjmay
authored andcommitted
metrics: disable CPU metrics on tinygo (ethereum#31953)
1 parent e162bee commit 28ae9f9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

metrics/cpu_disabled.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
// You should have received a copy of the GNU Lesser General Public License
1515
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
1616

17-
//go:build ios || js || wasip1
18-
// +build ios js wasip1
17+
//go:build ios || js || wasip1 || tinygo
18+
// +build ios js wasip1 tinygo
1919

2020
package metrics
2121

metrics/cpu_enabled.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
// You should have received a copy of the GNU Lesser General Public License
1515
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
1616

17-
//go:build !ios && !js && !wasip1
18-
// +build !ios,!js,!wasip1
17+
//go:build !ios && !js && !wasip1 && !tinygo
18+
// +build !ios,!js,!wasip1,!tinygo
1919

2020
package metrics
2121

0 commit comments

Comments
 (0)