From b8ea92de2f6c3fc952e9ec3d1df1f58be9a40d80 Mon Sep 17 00:00:00 2001 From: Max McDonnell Date: Fri, 31 May 2024 04:04:30 -0400 Subject: [PATCH] Allow wasm compilation (#786) --- build/builder_unix.go | 4 ++-- tombstones_unix.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build/builder_unix.go b/build/builder_unix.go index cd50632dd..edbd87b06 100644 --- a/build/builder_unix.go +++ b/build/builder_unix.go @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. // -//go:build !windows -// +build !windows +//go:build !windows && !wasm +// +build !windows,!wasm package build diff --git a/tombstones_unix.go b/tombstones_unix.go index e21f42c5f..f983b5096 100644 --- a/tombstones_unix.go +++ b/tombstones_unix.go @@ -1,4 +1,4 @@ -//go:build !windows +//go:build !windows && !wasm package zoekt