]> Cypherpunks repositories - gostls13.git/commit
runtime,syscall: invert openbsd architecture tests
authorJoel Sing <joel@sing.id.au>
Fri, 4 Aug 2023 11:27:20 +0000 (21:27 +1000)
committerGopher Robot <gobot@golang.org>
Sat, 5 Aug 2023 18:04:17 +0000 (18:04 +0000)
commit9fc3feb441d660d63409c83574803d8efe01b351
tree4b2be7a7a226f780fecb20bfd1a742ec3365d3a1
parent5d5305026ec51ff3aaa6e7a7c18a815a3ac787c7
runtime,syscall: invert openbsd architecture tests

Rather than testing for architectures that use libc-based system calls,
test that it is not the single architecture that Go is still using direct
system calls. This reduces the number of changes needed for new openbsd
ports.

Updates #36435
Updates #61546

Change-Id: I79c4597c629b8b372e9efcda79e8f6ff778b9e8e
Reviewed-on: https://go-review.googlesource.com/c/go/+/516016
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Run-TryBot: Joel Sing <joel@sing.id.au>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/runtime/proc.go
src/syscall/exec_unix.go