]> Cypherpunks repositories - gostls13.git/commit
runtime,syscall: move SyscallX implementations from runtime to syscall
authorqmuntal <quimmuntal@gmail.com>
Fri, 25 Jul 2025 13:25:37 +0000 (15:25 +0200)
committerQuim Muntal <quimmuntal@gmail.com>
Mon, 28 Jul 2025 16:47:26 +0000 (09:47 -0700)
commit98f301cf687b7a3aaab62c9d28999136117f9589
tree0b9aa9a96e1b03f88ba5c6f509a41cfec7398cff
parentc7ed3a1c5a152d0e610bbbf104dba30099e6942a
runtime,syscall: move SyscallX implementations from runtime to syscall

There is no need for syscall.Syscall{3,6,9,12,15,18} to be implemented
in the runtime and linknamed from syscall. All of them can be
implemented using the single runtime.syscall_syscalln function.

While here, improve the documentation of syscall.SyscallN.

Change-Id: I0e09d42e855d6baf900354c9b7992a4329c4ffc7
Reviewed-on: https://go-review.googlesource.com/c/go/+/690515
Reviewed-by: Michael Knyszek <mknyszek@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
src/runtime/syscall_windows.go
src/syscall/dll_windows.go