From 8edf4cb27d07a81ae340b0fda4e519c12f139618 Mon Sep 17 00:00:00 2001 From: Michael Munday Date: Fri, 8 Apr 2016 13:30:41 -0400 Subject: [PATCH] hash/crc32: invert build tags for go implementation It seems cleaner and more consistent with other files to list the architectures that have assembly implementations rather than to list those that do not. This means we don't have to add s390x and future platforms to this list. Change-Id: I2ad3f66b76eb1711333c910236ca7f5151b698e5 Reviewed-on: https://go-review.googlesource.com/21770 Reviewed-by: Bill O'Farrell Reviewed-by: Brad Fitzpatrick Run-TryBot: Brad Fitzpatrick TryBot-Result: Gobot Gobot --- src/hash/crc32/crc32_generic.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hash/crc32/crc32_generic.go b/src/hash/crc32/crc32_generic.go index 08988f4b38..62fa72028c 100644 --- a/src/hash/crc32/crc32_generic.go +++ b/src/hash/crc32/crc32_generic.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build 386 arm arm64 mips64 mips64le ppc64 ppc64le +// +build !amd64,!amd64p32 package crc32 -- 2.48.1