mirror of
https://github.com/golang/go.git
synced 2025-05-13 11:24:40 +00:00
This is for the proposal, plus a few bug fixes that would/will be necessary when this is put into actual use. Fixes #66408. Updates #63131. Change-Id: I3a66e09d707dd579c59f155e7f53367f41214c30 Reviewed-on: https://go-review.googlesource.com/c/go/+/578355 Reviewed-by: Austin Clements <austin@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: David Chase <drchase@google.com>
371 B
371 B
New structs package
The new structs package provides types for struct fields that modify properties of the containing struct type such as memory layout.
In this release, the only such type is
HostLayout
which indicates that a structure with a field of that
type has a layout that conforms to host platform
expectations.