]> Cypherpunks repositories - gostls13.git/commit
runtime: factor common code out of defs_windows_*.go
authorRuss Cox <rsc@golang.org>
Wed, 27 Jan 2021 16:01:00 +0000 (11:01 -0500)
committerRuss Cox <rsc@golang.org>
Fri, 19 Feb 2021 00:03:30 +0000 (00:03 +0000)
commit76ab626bfc52fad9ce8c12fac56177ce68ff744b
treeb5763c398529535e0ad47b0cfa8fedbb9835fec4
parentece954d8b8e13a76de891c8078c27c5e7f884f9f
runtime: factor common code out of defs_windows_*.go

Also give up on the fiction that these files can be regenerated.
They contain many manual edits, and they're fairly small anyway.

This CL is part of a stack adding windows/arm64
support (#36439), intended to land in the Go 1.17 cycle.
This CL is, however, not windows/arm64-specific.
It is cleanup meant to make the port (and future ports) easier.

Change-Id: Ib4e4e20a43d8beb1d5390fd184160c33607641f6
Reviewed-on: https://go-review.googlesource.com/c/go/+/288807
Trust: Russ Cox <rsc@golang.org>
Trust: Jason A. Donenfeld <Jason@zx2c4.com>
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
Reviewed-by: Jason A. Donenfeld <Jason@zx2c4.com>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/runtime/defs_windows.go
src/runtime/defs_windows_386.go
src/runtime/defs_windows_amd64.go
src/runtime/defs_windows_arm.go
src/runtime/signal_windows.go