Disable unsafe for GopherJS compiler.
This commit is contained in:
parent
6cf5744a04
commit
100382ed2b
|
@ -15,7 +15,7 @@
|
||||||
// NOTE: Due to the following build constraints, this file will only be compiled
|
// 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"
|
// when the code is not running on Google App Engine and "-tags disableunsafe"
|
||||||
// is not added to the go build command line.
|
// is not added to the go build command line.
|
||||||
// +build !appengine,!disableunsafe
|
// +build !appengine,!disableunsafe,!js
|
||||||
|
|
||||||
package spew
|
package spew
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
// NOTE: Due to the following build constraints, this file will only be compiled
|
// 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"
|
// when either the code is running on Google App Engine or "-tags disableunsafe"
|
||||||
// is added to the go build command line.
|
// is added to the go build command line.
|
||||||
// +build appengine disableunsafe
|
// +build appengine disableunsafe js
|
||||||
|
|
||||||
package spew
|
package spew
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
// NOTE: Due to the following build constraints, this file will only be compiled
|
// 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"
|
// when the code is not running on Google App Engine and "-tags disableunsafe"
|
||||||
// is not added to the go build command line.
|
// is not added to the go build command line.
|
||||||
// +build !appengine,!disableunsafe
|
// +build !appengine,!disableunsafe,!js
|
||||||
|
|
||||||
/*
|
/*
|
||||||
This test file is part of the spew package rather than than the spew_test
|
This test file is part of the spew package rather than than the spew_test
|
||||||
|
|
Loading…
Reference in New Issue