From 546d8a5729d44017f4ddc8b82b7cb63174ab1522 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Tue, 5 Jul 2022 09:33:12 +0100 Subject: [PATCH] Update copyrights, build tags --- server/pse/pse_wasm.go | 5 ++++- server/signal_wasm.go | 3 +++ server/sysmem/mem_wasm.go | 3 ++- 3 files changed, 9 insertions(+), 2 deletions(-) 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