]> Cypherpunks repositories - gostls13.git/commit
runtime: remove unused cpu architecture feature variables from binaries
authorMartin Möhrmann <martin@golang.org>
Sat, 24 Oct 2020 03:54:46 +0000 (05:54 +0200)
committerMartin Möhrmann <martin@golang.org>
Mon, 23 Aug 2021 11:23:58 +0000 (11:23 +0000)
commitc1a14781eca85e9c705c782aa2071a5f9c23c09e
tree915b8e04227ddb1dc4b63fd43b59598f39bf9522
parent457418b47556520d73148a9a5672ee380bd0b5a4
runtime: remove unused cpu architecture feature variables from binaries

On amd64 this reduces go binary sizes by 176 bytes due to not referencing
internal/cpu.ARM64 and internal/cpu.ARM.

Change-Id: I8e4f31e2b1939b05eec2148b44d7cff7e0aeb30e
Reviewed-on: https://go-review.googlesource.com/c/go/+/344329
Trust: Martin Möhrmann <martin@golang.org>
Run-TryBot: Martin Möhrmann <martin@golang.org>
Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Go Bot <gobot@golang.org>
src/runtime/proc.go