Skip to content

Commit

Permalink
go/build: make ArchChar always return "?" to match docs
Browse files Browse the repository at this point in the history
Change-Id: I56f825f81aead9ded7af07a02188a52d3650ccf8
Reviewed-on: https://go-review.googlesource.com/10333
Reviewed-by: Brad Fitzpatrick <[email protected]>
  • Loading branch information
minux committed May 22, 2015
1 parent db0594b commit 1c0498f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/go/build/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}

0 comments on commit 1c0498f

Please sign in to comment.