From dd931d9b48647e898dc80927c532ae93cc09e192 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Mon, 24 Sep 2018 21:46:21 +0000 Subject: libgo: update to Go 1.11 Reviewed-on: https://go-review.googlesource.com/136435 gotools/: * Makefile.am (mostlyclean-local): Run chmod on check-go-dir to make sure it is writable. (check-go-tools): Likewise. (check-vet): Copy internal/objabi to check-vet-dir. * Makefile.in: Rebuild. From-SVN: r264546 --- libgo/go/runtime/timestub2.go | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 libgo/go/runtime/timestub2.go (limited to 'libgo/go/runtime/timestub2.go') diff --git a/libgo/go/runtime/timestub2.go b/libgo/go/runtime/timestub2.go new file mode 100644 index 0000000..9ddc6fe --- /dev/null +++ b/libgo/go/runtime/timestub2.go @@ -0,0 +1,11 @@ +// Copyright 2018 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +// +build !darwin +// +build !windows +// +build !freebsd + +package runtime + +func walltime() (sec int64, nsec int32) -- cgit v1.1