diff options
author | Russ Cox <rsc@golang.org> | 2021-01-30 07:27:24 -0500 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2021-02-19 00:01:17 +0000 |
commit | e7ee3c1fa87556245e38b662ea5b3002bbeb32b9 (patch) | |
tree | 5b4679a1cce9d75c33190edd0b2e9403ef2d815b /src/runtime/sys_openbsd1.go | |
parent | eb982727e33263c0bb67de607beb44c5e0bd2bea (diff) | |
download | go-e7ee3c1fa87556245e38b662ea5b3002bbeb32b9.tar.gz go-e7ee3c1fa87556245e38b662ea5b3002bbeb32b9.zip |
os: report Windows exit status in hex
We print things like “exit status 3221225477”
but the standard Windows form is 0xc0000005.
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: Iefe447d4d1781b53bef9619f68d386f2866b2934
Reviewed-on: https://go-review.googlesource.com/c/go/+/288792
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>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime/sys_openbsd1.go')
0 files changed, 0 insertions, 0 deletions