src/runtime/timestub2.go
raw| 1 | // Copyright 2018 The Go Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
| 5 | //go:build !aix && !darwin && !freebsd && !openbsd && !solaris && !wasip1 && !windows && !(linux && amd64) && !plan9 |
| 6 | |
| 7 | package runtime |
| 8 | |
| 9 | //go:wasmimport gojs runtime.walltime |
| 10 | func walltime() (sec int64, nsec int32) |