Disable unsafe for GopherJS compiler.
* Disable unsafe for GopherJS compiler. * Update comments to reflect GopherJS build constraints
This commit is contained in:
parent
3838b6852d
commit
66f99a29a0
|
@ -13,9 +13,9 @@
|
|||
// OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
// NOTE: Due to the following build constraints, this file will only be compiled
|
||||
// when the code is not running on Google App Engine and "-tags disableunsafe"
|
||||
// is not added to the go build command line.
|
||||
// +build !appengine,!disableunsafe
|
||||
// when the code is not running on Google App Engine, compiled by GopherJS, and
|
||||
// "-tags disableunsafe" is not added to the go build command line.
|
||||
// +build !appengine,!disableunsafe,!js
|
||||
|
||||
package spew
|
||||
|
||||
|
|
|
@ -13,9 +13,9 @@
|
|||
// OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
// NOTE: Due to the following build constraints, this file will only be compiled
|
||||
// when either the code is running on Google App Engine or "-tags disableunsafe"
|
||||
// is added to the go build command line.
|
||||
// +build appengine disableunsafe
|
||||
// when the code is running on Google App Engine, compiled by GopherJS, or
|
||||
// "-tags disableunsafe" is added to the go build command line.
|
||||
// +build appengine disableunsafe js
|
||||
|
||||
package spew
|
||||
|
||||
|
|
|
@ -13,9 +13,9 @@
|
|||
// OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
// NOTE: Due to the following build constraints, this file will only be compiled
|
||||
// when the code is not running on Google App Engine and "-tags disableunsafe"
|
||||
// is not added to the go build command line.
|
||||
// +build !appengine,!disableunsafe
|
||||
// when the code is not running on Google App Engine, compiled by GopherJS, and
|
||||
// "-tags disableunsafe" is not added to the go build command line.
|
||||
// +build !appengine,!disableunsafe,!js
|
||||
|
||||
/*
|
||||
This test file is part of the spew package rather than than the spew_test
|
||||
|
|
Loading…
Reference in New Issue