1
0
mirror of https://github.com/golang/go synced 2024-11-26 22:31:23 -07:00
go/misc
Philipp Stephani 08751259b7 cmd/cgo: use C exact-width integer types to represent Go types
The exact-width integer types are required to use two’s complement
representation and may not have padding bits, cf. §7.20.1.1/1 in the C11
standard or https://en.cppreference.com/w/c/types/integer.  This ensures that
they have the same domain and representation as the corresponding Go types.

Fixes #29878

Change-Id: Ie8a51e91666dfd89731c7859abe47356c94ca1be
GitHub-Last-Rev: 546a2cc3f1
GitHub-Pull-Request: golang/go#29907
Reviewed-on: https://go-review.googlesource.com/c/go/+/159258
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2019-03-18 21:08:21 +00:00
..
android misc/android: copy go.mod and go.sum files 2019-03-15 17:20:47 +00:00
arm
cgo cmd/cgo: use C exact-width integer types to represent Go types 2019-03-18 21:08:21 +00:00
chrome/gophertool
ios cmd/go,misc/ios: fix tests on iOS 2019-03-17 17:00:42 +00:00
linkcheck
nacl cmd: refresh cmd/vendor to match 'go mod vendor' 2019-03-11 20:27:03 +00:00
reboot cmd/dist: add a test in misc/reboot to verify that the toolchain can self-bootstrap 2019-03-13 21:16:24 +00:00
swig cmd/go: fix swig support and run swig tests during run.bash 2017-11-16 17:19:19 +00:00
trace misc/trace: update trace_viewer_full.html 2018-04-26 20:26:23 +00:00
wasm misc/wasm: add workaround for missed timeout events 2019-03-14 17:09:32 +00:00
benchcmp
editors
go.mod misc: add go.mod file 2019-02-27 17:47:31 +00:00