]> Cypherpunks repositories - gostls13.git/commit
cmd/compile, cmd/link: eliminate uses of ArchFamily in error messages
authorMatthew Dempsky <mdempsky@google.com>
Thu, 7 Apr 2016 01:54:17 +0000 (18:54 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Thu, 7 Apr 2016 02:46:53 +0000 (02:46 +0000)
commitd481ffc1afeae8852caa3452a0e23b1cd90d1e10
treecc4a9b8b127cd9f4d7090815bc47990621738491
parentc6e11fe03765e3fe1fc68bd794625ca0ecd833be
cmd/compile, cmd/link: eliminate uses of ArchFamily in error messages

Two of these error messages are already dead code: cmd/compile.main
and cmd/link.main already switch on $GOARCH, ensuring it must be a
prefix of the sys.Arch.Family.

The error message about uncompiled Go source files can be just be
simplified: anyone who's manually constructing Go object file archives
probably knows what tool to use to compile Go source files.

Change-Id: Ia4a67c0a1d1158379c127c91e909226d3367f3c2
Reviewed-on: https://go-review.googlesource.com/21626
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/compile/internal/gc/main.go
src/cmd/link/internal/ld/lib.go