From 6f580c6aa36c54c3e1c65b5c609550a8a2508e3e Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Mon, 12 Nov 2018 14:46:14 -0700 Subject: [PATCH] Add flags for JS/WASM builds --- rlimit_nonposix.go | 2 +- rlimit_posix.go | 2 +- sigtrap_nonposix.go | 2 +- sigtrap_posix.go | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/rlimit_nonposix.go b/rlimit_nonposix.go index dd321477..05ca942d 100644 --- a/rlimit_nonposix.go +++ b/rlimit_nonposix.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// +build windows plan9 nacl +// +build windows plan9 nacl js package caddy diff --git a/rlimit_posix.go b/rlimit_posix.go index dc9b2959..9e85bf66 100644 --- a/rlimit_posix.go +++ b/rlimit_posix.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// +build !windows,!plan9,!nacl +// +build !windows,!plan9,!nacl,!js package caddy diff --git a/sigtrap_nonposix.go b/sigtrap_nonposix.go index 3fb88647..517e3a2e 100644 --- a/sigtrap_nonposix.go +++ b/sigtrap_nonposix.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// +build windows plan9 nacl +// +build windows plan9 nacl js package caddy diff --git a/sigtrap_posix.go b/sigtrap_posix.go index 9d0bab9c..fb970361 100644 --- a/sigtrap_posix.go +++ b/sigtrap_posix.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// +build !windows,!plan9,!nacl +// +build !windows,!plan9,!nacl,!js package caddy