]> Cypherpunks repositories - gostls13.git/commit
all: retire architecture letter in file names, public API
authorRuss Cox <rsc@golang.org>
Thu, 21 May 2015 17:28:17 +0000 (13:28 -0400)
committerRuss Cox <rsc@golang.org>
Thu, 21 May 2015 17:32:17 +0000 (17:32 +0000)
commitcf932cd897a3eaf3aa6fec3ba5d0ab1d9107eebb
tree5cf3a6e5f2c2960c0766c27e38e30095c485c5e4
parent0f4132c907d9749a1a41a20af7856065ee10de9e
all: retire architecture letter in file names, public API

This CL removes the remaining visible uses of the "architecture letter" concept.
(They are no longer in tool names nor in source directory names.)

Because the architecture letter concept is now gone, delete GOCHAR
from "go env" output, and change go/build.ArchChar to return an
error always.

The architecture letter is still used in the compiler and linker sources
as a clumsy architecture enumeration, but that use is not visible to
Go users and can be cleaned up separately.

Change-Id: I4d97a38f372003fb610c9c5241bea440d9dbeb8d
Reviewed-on: https://go-review.googlesource.com/10289
Reviewed-by: Rob Pike <r@golang.org>
23 files changed:
doc/go1.5.txt
src/cmd/asm/internal/flags/flags.go
src/cmd/asm/main.go
src/cmd/compile/internal/gc/lex.go
src/cmd/compile/internal/gc/mkbuiltin.go
src/cmd/compile/internal/gc/obj.go
src/cmd/dist/build.go
src/cmd/go/build.go
src/cmd/go/env.go
src/cmd/link/internal/ld/lib.go
src/cmd/link/internal/ld/pobj.go
src/cmd/pack/pack_test.go
src/go/build/build.go
src/go/internal/gcimporter/gcimporter.go
src/go/internal/gcimporter/gcimporter_test.go
test/bench/shootout/timing.sh
test/fixedbugs/bug248.go
test/fixedbugs/bug302.go
test/fixedbugs/bug345.go
test/fixedbugs/bug369.go
test/fixedbugs/issue9355.go
test/run.go
test/sinit_run.go