mirror of
https://github.com/golang/go
synced 2024-11-05 15:46:11 -07:00
go/build: make ArchChar always return "?" to match docs
Change-Id: I56f825f81aead9ded7af07a02188a52d3650ccf8 Reviewed-on: https://go-review.googlesource.com/10333 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
db0594b633
commit
1c0498fc05
@ -1397,5 +1397,5 @@ func IsLocalImport(path string) bool {
|
||||
// and the default linker output name. As of Go 1.5, those strings
|
||||
// no longer vary by architecture; they are compile, link, .o, and a.out, respectively.
|
||||
func ArchChar(goarch string) (string, error) {
|
||||
return "", errors.New("architecture letter no longer used")
|
||||
return "?", errors.New("architecture letter no longer used")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user