good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit a789dcc9 authored by Felix Lange's avatar Felix Lange Committed by GitHub
Browse files

metrics: fix compilation for GOOS=js (#23449)

parent b69f5ca7
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@
// 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/>.
// +build ios
// +build ios js
package metrics
......
......@@ -14,7 +14,7 @@
// 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/>.
// +build !ios
// +build !ios,!js
package metrics
......
......@@ -14,6 +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/>.
// +build windows js
package metrics
// getProcessCPUTime returns 0 on Windows as there is no system call to resolve
......
......@@ -14,7 +14,7 @@
// 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/>.
// +build !windows
// +build !windows,!js
package metrics
......
// +build cgo
// +build !appengine
// +build cgo,!appengine,!js
package metrics
......
// +build !cgo appengine
// +build !cgo appengine js
package metrics
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment