aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/stubs3.go
diff options
context:
space:
mode:
authorJoel Sing <joel@sing.id.au>2020-11-15 23:28:57 +1100
committerJoel Sing <joel@sing.id.au>2021-01-22 18:58:08 +0000
commitdab3e5affefb7e0b157ad27fe4797c4c6f3c4ea6 (patch)
treec618630c55c6e0ced4b754e0b86045890824bef9 /src/runtime/stubs3.go
parenta1b53d85dad7648d545ee5e0d7e768f300bfcd84 (diff)
downloadgo-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/stubs3.go')
-rw-r--r--src/runtime/stubs3.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/runtime/stubs3.go b/src/runtime/stubs3.go
index 95eecc7eca..1885d32051 100644
--- a/src/runtime/stubs3.go
+++ b/src/runtime/stubs3.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 !freebsd
+// +build !openbsd
// +build !plan9
// +build !solaris
-// +build !freebsd
-// +build !darwin
-// +build !aix
package runtime