]> Cypherpunks repositories - gostls13.git/commit
cmd/dist,cmd/compile: remove -allabis mode
authorAustin Clements <austin@google.com>
Thu, 6 Jun 2019 21:27:14 +0000 (17:27 -0400)
committerAustin Clements <austin@google.com>
Fri, 7 Jun 2019 18:10:20 +0000 (18:10 +0000)
commit74d92db8d77e20b934821b13a92bccb01dbeeb68
treeede19cc56ea21e7b3825d3c21fd8352616b19a11
parente0dd927123df2bbaf7af91f50e68710cfc220dfa
cmd/dist,cmd/compile: remove -allabis mode

dist passes the -allabis flag to the compiler to avoid having to
recreate the cross-package ABI logic from cmd/go. However, we removed
that logic from cmd/go in CL 179863 and replaced it with a different
mechanism that doesn't depend on the build system. Hence, passing
-allabis in dist is no longer necessary.

This CL removes -allabis from dist and, since that was the only use of
it, removes support for it from the compiler as well.

Updates #31230.

Change-Id: Ib005db95755a7028f49c885785e72c3970aea4f9
Reviewed-on: https://go-review.googlesource.com/c/go/+/181079
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
src/cmd/compile/internal/gc/gsubr.go
src/cmd/compile/internal/gc/main.go
src/cmd/dist/build.go