From 8ec8f6aa87569a6bc567d4a7039fc22a473b37ec Mon Sep 17 00:00:00 2001 From: Joel Sing Date: Sun, 31 Jan 2021 04:21:47 +1100 Subject: 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 Reviewed-by: Cherry Mui --- src/runtime/sys_libc.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/runtime/sys_libc.go') 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 -- cgit v1.3-6-g1900