diff --git a/server/pse/pse_wasm.go b/server/pse/pse_wasm.go index 52d379c9..4a6689d8 100644 --- a/server/pse/pse_wasm.go +++ b/server/pse/pse_wasm.go @@ -1,4 +1,4 @@ -// Copyright 2021 The NATS Authors +// Copyright 2022 The NATS Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at @@ -11,6 +11,9 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build wasm +// +build wasm + package pse // This is a placeholder for now. diff --git a/server/signal_wasm.go b/server/signal_wasm.go index 5bea0b0b..ce9088f7 100644 --- a/server/signal_wasm.go +++ b/server/signal_wasm.go @@ -11,6 +11,9 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build wasm +// +build wasm + package server func (s *Server) handleSignals() { diff --git a/server/sysmem/mem_wasm.go b/server/sysmem/mem_wasm.go index 0b713955..80636064 100644 --- a/server/sysmem/mem_wasm.go +++ b/server/sysmem/mem_wasm.go @@ -1,4 +1,4 @@ -// Copyright 2021 The NATS Authors +// Copyright 2022 The NATS Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at @@ -11,6 +11,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build wasm // +build wasm package sysmem