diff options
author | Joel Sing <joel@sing.id.au> | 2021-01-28 23:50:30 +1100 |
---|---|---|
committer | Joel Sing <joel@sing.id.au> | 2021-04-30 20:00:36 +0000 |
commit | 8e91458b19b19584f2026c227265a02724700a55 (patch) | |
tree | a667933e470667c4b3a28fba707c8a5310eecc70 /src/runtime/sys_openbsd3.go | |
parent | faff49aae6e90f7c6a8333f7974a6ca368c01228 (diff) | |
download | go-8e91458b19b19584f2026c227265a02724700a55.tar.gz go-8e91458b19b19584f2026c227265a02724700a55.zip |
runtime,syscall: convert syscall on openbsd/386 to libc
Convert the syscall package on openbsd/386 to use libc rather than performing
direct system calls.
Updates #36435
Change-Id: Ifcfbca0e6b933762596a564243caa850dac01442
Reviewed-on: https://go-review.googlesource.com/c/go/+/287654
Trust: Joel Sing <joel@sing.id.au>
Run-TryBot: Joel Sing <joel@sing.id.au>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Diffstat (limited to 'src/runtime/sys_openbsd3.go')
-rw-r--r-- | src/runtime/sys_openbsd3.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/sys_openbsd3.go b/src/runtime/sys_openbsd3.go index 751c00c2b3..8fdee05733 100644 --- a/src/runtime/sys_openbsd3.go +++ b/src/runtime/sys_openbsd3.go @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -//go:build (openbsd && amd64) || (openbsd && arm64) -// +build openbsd,amd64 openbsd,arm64 +//go:build (openbsd && 386) || (openbsd && amd64) || (openbsd && arm64) +// +build openbsd,386 openbsd,amd64 openbsd,arm64 package runtime |