metrics: add go:build lines (#23468)

This commit is contained in:
Daniel Liu 2024-12-13 14:00:12 +08:00
parent 98079104e4
commit 2e5b342826
7 changed files with 7 additions and 0 deletions

View file

@ -14,6 +14,7 @@
// 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
// +build ios js // +build ios js
package metrics package metrics

View file

@ -14,6 +14,7 @@
// 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 windows || js
// +build windows js // +build windows js
package metrics package metrics

View file

@ -1,3 +1,4 @@
//go:build cgo && !appengine && !js
// +build cgo,!appengine,!js // +build cgo,!appengine,!js
package metrics package metrics

View file

@ -1,3 +1,4 @@
//go:build go1.5
// +build go1.5 // +build go1.5
package metrics package metrics

View file

@ -1,3 +1,4 @@
//go:build !cgo || appengine || js
// +build !cgo appengine js // +build !cgo appengine js
package metrics package metrics

View file

@ -1,3 +1,4 @@
//go:build !go1.5
// +build !go1.5 // +build !go1.5
package metrics package metrics

View file

@ -1,3 +1,4 @@
//go:build !windows
// +build !windows // +build !windows
package metrics package metrics