]> Cypherpunks repositories - gostls13.git/commit
cmd/vet: infer asm arch from build context
authorJosh Bleecher Snyder <josharian@gmail.com>
Mon, 11 Jul 2016 19:19:51 +0000 (12:19 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Wed, 17 Aug 2016 20:49:59 +0000 (20:49 +0000)
commit2b8e143dc302d2f3817cb3df1c1cc0b2cde3bbc1
treecc194490e9c04f4040288149915a79435f99dd48
parent752e16158751165c53538a564ca0a8bd7ba84f1f
cmd/vet: infer asm arch from build context

If we cannot infer the asm arch from the filename
or the build tags, assume that it is the
current build arch. Assembly files with no
restrictions ought to be usable on all arches.

Updates #11041

Change-Id: I0ae807dbbd5fb67ca21d0157fe180237a074113a
Reviewed-on: https://go-review.googlesource.com/27151
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/asmdecl.go