From b419177edc07371969a55e9d03eb0d640eae43b0 Mon Sep 17 00:00:00 2001 From: David Vogel Date: Sat, 15 Nov 2025 20:27:08 +0100 Subject: [PATCH] Add build tags for "non windows/unix" platforms instead of specific other platforms. --- cli_js.go => cli_other.go | 2 +- cli_wasi.go | 12 ------------ 2 files changed, 1 insertion(+), 13 deletions(-) rename cli_js.go => cli_other.go (90%) delete mode 100644 cli_wasi.go diff --git a/cli_js.go b/cli_other.go similarity index 90% rename from cli_js.go rename to cli_other.go index 6080ea2..73beed1 100644 --- a/cli_js.go +++ b/cli_other.go @@ -3,7 +3,7 @@ // This software is released under the MIT License. // https://opensource.org/licenses/MIT -//go:build js +//go:build !(windows || unix) package typst diff --git a/cli_wasi.go b/cli_wasi.go deleted file mode 100644 index 87b7c55..0000000 --- a/cli_wasi.go +++ /dev/null @@ -1,12 +0,0 @@ -// Copyright (c) 2025 David Vogel -// -// This software is released under the MIT License. -// https://opensource.org/licenses/MIT - -//go:build wasip1 - -package typst - -// The path to the Typst executable. -// We leave that empty as we don't support this platform for now. -var ExecutablePath = ""