]> Cypherpunks repositories - gostls13.git/commit
syscall: clean up windows a bit
authorRuss Cox <rsc@golang.org>
Wed, 27 Jan 2021 16:39:48 +0000 (11:39 -0500)
committerRuss Cox <rsc@golang.org>
Fri, 19 Feb 2021 00:04:30 +0000 (00:04 +0000)
commitb6379f190b3820c2765c7589c1fd6292e5581407
treecf3eed289a277a9e3264c465ca667f69137c35d6
parent09e059afb1270498f416f5b5c75a6a5683b6d1da
syscall: clean up windows a bit

The files being deleted contain no code.
They exist because back when we used Makefiles
that listed all the Go sources to be compiled, we wrote
patterns like syscall_$GOOS_$GOARCH.go,
and it was easier to create dummy empty files
than introduce conditionals to not look for that
file on Windows.

Now that we have the go command instead,
we don't need those dummy files.

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: Ie0066d1dd2bf09802c74c6a496276e8c593e4bc2
Reviewed-on: https://go-review.googlesource.com/c/go/+/288815
Trust: Russ Cox <rsc@golang.org>
Trust: Jason A. Donenfeld <Jason@zx2c4.com>
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Reviewed-by: Jason A. Donenfeld <Jason@zx2c4.com>
src/syscall/syscall_windows.go
src/syscall/syscall_windows_386.go [deleted file]
src/syscall/syscall_windows_amd64.go [deleted file]
src/syscall/zerrors_windows_386.go [deleted file]
src/syscall/zerrors_windows_amd64.go [deleted file]
src/syscall/zsysnum_windows_386.go [deleted file]
src/syscall/zsysnum_windows_amd64.go [deleted file]