]> Cypherpunks.ru repositories - gostls13.git/commit
runtime: delete windows setlasterror (unused)
authorRuss Cox <rsc@golang.org>
Sat, 30 Jan 2021 21:18:51 +0000 (16:18 -0500)
committerRuss Cox <rsc@golang.org>
Fri, 19 Feb 2021 00:01:31 +0000 (00:01 +0000)
commit678568a5cfe1806c16bf478234d6dac283c3474d
treec174993ec14d9c8078823d85ad8a32d429af5177
parent0d94f989d12a52ddc3869dbaa02255873f7a8196
runtime: delete windows setlasterror (unused)

This is dead code and need not be ported to each architecture.

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: I2d0072b377f73e49d7158ea304670c26f5486c59
Reviewed-on: https://go-review.googlesource.com/c/go/+/288794
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/runtime/os_windows.go
src/runtime/sys_windows_386.s
src/runtime/sys_windows_amd64.s
src/runtime/sys_windows_arm.s