metrics: add tinygo build flag for CPU time #32454 (#1566)

Co-authored-by: kevaundray <kevtheappdev@gmail.com>
This commit is contained in:
Daniel Liu 2025-09-24 07:55:37 +08:00 committed by GitHub
parent 2b658e7934
commit a9c1861708
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 windows || js
// +build windows js
//go:build windows || js || tinygo
// +build windows js 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 !windows && !js && !wasip1
// +build !windows,!js,!wasip1
//go:build !windows && !js && !wasip1 && !tinygo
// +build !windows,!js,!wasip1,!tinygo
package metrics