diff --git a/internal/db/sqlite/driver.go b/internal/db/sqlite/driver.go index bbf0fa665..7467f75be 100644 --- a/internal/db/sqlite/driver.go +++ b/internal/db/sqlite/driver.go @@ -15,7 +15,7 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . -//go:build !moderncsqlite3 +//go:build !moderncsqlite3 && !nowasm package sqlite diff --git a/internal/db/sqlite/driver_moderncsqlite3.go b/internal/db/sqlite/driver_moderncsqlite3.go index 7cb31efea..2ba11cea4 100644 --- a/internal/db/sqlite/driver_moderncsqlite3.go +++ b/internal/db/sqlite/driver_moderncsqlite3.go @@ -15,7 +15,7 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . -//go:build moderncsqlite3 +//go:build moderncsqlite3 || nowasm package sqlite diff --git a/internal/db/sqlite/errors.go b/internal/db/sqlite/errors.go index f814fa8a4..9429a1bcd 100644 --- a/internal/db/sqlite/errors.go +++ b/internal/db/sqlite/errors.go @@ -15,7 +15,7 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . -//go:build !moderncsqlite3 +//go:build !moderncsqlite3 && !nowasm package sqlite diff --git a/internal/db/sqlite/errors_moderncsqlite3.go b/internal/db/sqlite/errors_moderncsqlite3.go index b17cebefb..c490f514e 100644 --- a/internal/db/sqlite/errors_moderncsqlite3.go +++ b/internal/db/sqlite/errors_moderncsqlite3.go @@ -15,7 +15,7 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . -//go:build moderncsqlite3 +//go:build moderncsqlite3 || nowasm package sqlite diff --git a/internal/media/ffmpeg/wasm.go b/internal/media/ffmpeg/wasm.go index ea1d15189..4a230eec7 100644 --- a/internal/media/ffmpeg/wasm.go +++ b/internal/media/ffmpeg/wasm.go @@ -43,12 +43,6 @@ var ( ffprobe wazero.CompiledModule ) -// Args encapsulates the passing of common -// configuration options to run an instance -// of a compiled WebAssembly module that is -// run in a typical CLI manner. -type Args = wasm.Args - // compileFfmpeg ensures the ffmpeg WebAssembly has been // pre-compiled into memory. If already compiled is a no-op. func compileFfmpeg(ctx context.Context) error {