]> Cypherpunks repositories - gostls13.git/commit
[dev.regabi] internal/abi: add new internal/abi package for ABI constants
authorMichael Anthony Knyszek <mknyszek@google.com>
Thu, 22 Oct 2020 16:02:14 +0000 (16:02 +0000)
committerMichael Knyszek <mknyszek@google.com>
Fri, 12 Feb 2021 22:11:52 +0000 (22:11 +0000)
commitbaa6c75dcef23aa51e95bf7818b7ded5262fbaa8
tree5948d18e4bb9bfa32a2f7380335a64b5b4ba87b5
parentd1fd9a8863df6e8dc24dd1756550d341a26ed76c
[dev.regabi] internal/abi: add new internal/abi package for ABI constants

This change creates a new internal std package internal/abi which is
intended to hold constants with platform-specific values related to
our ABI that is useful to different std packages, such as runtime and
reflect.

For #40724.

Change-Id: Ie7ae7f687629cd3d613ba603e9371f0887601fe6
Reviewed-on: https://go-review.googlesource.com/c/go/+/272567
Trust: Michael Knyszek <mknyszek@google.com>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: Than McIntosh <thanm@google.com>
Reviewed-by: Austin Clements <austin@google.com>
src/go/build/deps_test.go
src/internal/abi/abi.go [new file with mode: 0644]
src/internal/abi/abi_amd64.go [new file with mode: 0644]
src/internal/abi/abi_generic.go [new file with mode: 0644]