commit | bc534a98a5c0703e87c5194005537aec8fe08844 | [log] [tgz] |
---|---|---|
author | Joe Tsai <joetsai@digital-static.net> | Tue Dec 18 16:07:48 2018 -0800 |
committer | Joe Tsai <thebrokentoaster@gmail.com> | Wed Dec 19 00:36:57 2018 +0000 |
tree | 0862a053f1b140f489b6bc9b83b30c5a11905f77 | |
parent | c05538c6a8b9c4de5e7b62c2aa30fc184da175e3 [diff] |
all: add appengine build tag The purego tag (see https://golang.org/issue/23172) is a community agreed upon signal that a given build environment does not support unsafe. The appengine environment is supposed to respect this tag, but does not properly do so. Add this tag back in until they fix their environment. Change-Id: I9a70062be4339c2e1a93cac31d387698c561b8aa Reviewed-on: https://go-review.googlesource.com/c/154743 Reviewed-by: Damien Neil <dneil@google.com>
diff --git a/internal/impl/pointer_reflect.go b/internal/impl/pointer_reflect.go index 0b62f6c..055c322 100644 --- a/internal/impl/pointer_reflect.go +++ b/internal/impl/pointer_reflect.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 purego +// +build purego appengine package impl
diff --git a/internal/impl/pointer_unsafe.go b/internal/impl/pointer_unsafe.go index fc77cfc..16078bd 100644 --- a/internal/impl/pointer_unsafe.go +++ b/internal/impl/pointer_unsafe.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 !purego +// +build !purego,!appengine package impl