]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/vet/all: add bitwidths for mips and mipsle
authorJosh Bleecher Snyder <josharian@gmail.com>
Fri, 11 Nov 2016 15:39:17 +0000 (07:39 -0800)
committerJosh Bleecher Snyder <josharian@gmail.com>
Fri, 11 Nov 2016 16:07:32 +0000 (16:07 +0000)
cmd/vet/all still doesn't run for mips/mipsle,
because the rest of the toolchain doesn't yet
fully support it.

Change-Id: I1a86b0edddbdcd5f43e752208508d99da7aabbb3
Reviewed-on: https://go-review.googlesource.com/33134
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
src/cmd/vet/all/main.go

index f7a47d687e79be8d7bf4ce88d2fe5d91bfe60aad..bcf97777dad9fe874c8c8c719d8c28e3fcaf3635 100644 (file)
@@ -321,6 +321,8 @@ var nbits = map[string]int{
        "amd64p32": 32,
        "arm":      32,
        "arm64":    64,
+       "mips":     32,
+       "mipsle":   32,
        "mips64":   64,
        "mips64le": 64,
        "ppc64":    64,