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 = ""