diff options
author | Joel Sing <joel@sing.id.au> | 2020-11-15 23:28:57 +1100 |
---|---|---|
committer | Joel Sing <joel@sing.id.au> | 2021-01-22 18:58:08 +0000 |
commit | dab3e5affefb7e0b157ad27fe4797c4c6f3c4ea6 (patch) | |
tree | c618630c55c6e0ced4b754e0b86045890824bef9 /src/runtime/timestub2.go | |
parent | a1b53d85dad7648d545ee5e0d7e768f300bfcd84 (diff) | |
download | go-dab3e5affefb7e0b157ad27fe4797c4c6f3c4ea6.tar.gz go-dab3e5affefb7e0b157ad27fe4797c4c6f3c4ea6.zip |
runtime: switch runtime to libc for openbsd/amd64
Use libc rather than performing direct system calls for the runtime on
openbsd/amd64.
Updates #36435
Change-Id: Ib708009c3743f56a3fd6cb3bc731451e4a398849
Reviewed-on: https://go-review.googlesource.com/c/go/+/270379
Trust: Joel Sing <joel@sing.id.au>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Diffstat (limited to 'src/runtime/timestub2.go')
-rw-r--r-- | src/runtime/timestub2.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/runtime/timestub2.go b/src/runtime/timestub2.go index 6d73aabc35..68777ee4a9 100644 --- a/src/runtime/timestub2.go +++ b/src/runtime/timestub2.go @@ -2,11 +2,12 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build !aix // +build !darwin -// +build !windows // +build !freebsd -// +build !aix +// +build !openbsd // +build !solaris +// +build !windows package runtime |