Prechádzať zdrojové kódy

Add appengine and noasm build tags.

The general suggestion to use a noasm tag is by Klaus Post at
https://groups.google.com/d/msg/golang-dev/CeKX81B3WdQ/2mq-eY0VAgAJ
Nigel Tao 9 rokov pred
rodič
commit
3588d1dd84
3 zmenil súbory, kde vykonal 5 pridanie a 1 odobranie
  1. 2 0
      decode_amd64.go
  2. 2 0
      decode_amd64.s
  3. 1 1
      decode_other.go

+ 2 - 0
decode_amd64.go

@@ -2,7 +2,9 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+// +build !appengine
 // +build gc
+// +build !noasm
 
 package snappy
 

+ 2 - 0
decode_amd64.s

@@ -2,7 +2,9 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+// +build !appengine
 // +build gc
+// +build !noasm
 
 #include "textflag.h"
 

+ 1 - 1
decode_other.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 !amd64 !gc
+// +build !amd64 appengine !gc noasm
 
 package snappy