For the libgo implementation nanotime is always defined in C, so remove build tags so that it is always declared in Go. This is for PR 86535. Bootstrapped and tested on x86_64-pc-linux-gnu. Committed to mainline.
Ian
Index: gcc/go/gofrontend/MERGE =================================================================== --- gcc/go/gofrontend/MERGE (revision 269202) +++ gcc/go/gofrontend/MERGE (working copy) @@ -1,4 +1,4 @@ -51d2cb40a6475b126ed66cefa2aa6c8dbdc806d0 +e330eea4464f1513808ccd95011edb4ccbe946b5 The first line of this file holds the git revision number of the last merge done from the gofrontend repository. Index: libgo/go/runtime/stubs3.go =================================================================== --- libgo/go/runtime/stubs3.go (revision 269196) +++ libgo/go/runtime/stubs3.go (working copy) @@ -2,13 +2,6 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build !plan9 -// +build !windows -// +build !nacl -// +build !freebsd -// +build !darwin -// +build !aix - package runtime func nanotime() int64