Skip to content

Commit 500ed3b

Browse files
authored
metrics: disable CPU metrics on tinygo (#31953)
1 parent 778430a commit 500ed3b

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)