aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/sys_libc.go
diff options
context:
space:
mode:
authorJoel Sing <joel@sing.id.au>2021-01-31 04:21:47 +1100
committerJoel Sing <joel@sing.id.au>2021-05-09 17:05:25 +0000
commit8ec8f6aa87569a6bc567d4a7039fc22a473b37ec (patch)
treea1fe1f8e3b60aa55f98b0eb4be5ff5bf0253f4a1 /src/runtime/sys_libc.go
parent5203357ebacf9f41ca5e194d953c164049172e96 (diff)
downloadgo-8ec8f6aa87569a6bc567d4a7039fc22a473b37ec.tar.xz
runtime: switch openbsd/arm to pthreads
This switches openbsd/arm to thread creation via pthreads, rather than doing direct system calls. Update #36435 Change-Id: Ia8749e3723a9967905c33b6d93dfd9be797a486c Reviewed-on: https://go-review.googlesource.com/c/go/+/315790 Trust: Joel Sing <joel@sing.id.au> Reviewed-by: Cherry Mui <cherryyz@google.com>
Diffstat (limited to 'src/runtime/sys_libc.go')
-rw-r--r--src/runtime/sys_libc.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/sys_libc.go b/src/runtime/sys_libc.go
index 91195eb3c0..346b1ab285 100644
--- a/src/runtime/sys_libc.go
+++ b/src/runtime/sys_libc.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 darwin || (openbsd && 386) || (openbsd && amd64) || (openbsd && arm64)
-// +build darwin openbsd,386 openbsd,amd64 openbsd,arm64
+//go:build darwin || (openbsd && 386) || (openbsd && amd64) || (openbsd && arm) || (openbsd && arm64)
+// +build darwin openbsd,386 openbsd,amd64 openbsd,arm openbsd,arm64
package runtime