From 81b66ad7e324dda72abc293433ecdaf4cf55c3a6 Mon Sep 17 00:00:00 2001 From: kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com> Date: Tue, 14 Jan 2025 18:30:55 +0000 Subject: update ncruces/go-sqlite3 v0.21.3 -> v0.22.0, gruf/go-ffmpreg v0.6.4 -> v0.6.5 (#3646) --- .../github.com/ncruces/go-sqlite3/embed/README.md | 2 +- .../github.com/ncruces/go-sqlite3/embed/build.sh | 2 +- .../ncruces/go-sqlite3/embed/exports.txt | 1 + vendor/github.com/ncruces/go-sqlite3/embed/init.go | 5 +++-- .../ncruces/go-sqlite3/embed/sqlite3.wasm | Bin 1390983 -> 1395963 bytes 5 files changed, 6 insertions(+), 4 deletions(-) (limited to 'vendor/github.com/ncruces/go-sqlite3/embed') diff --git a/vendor/github.com/ncruces/go-sqlite3/embed/README.md b/vendor/github.com/ncruces/go-sqlite3/embed/README.md index edec63320..ca5108c8c 100644 --- a/vendor/github.com/ncruces/go-sqlite3/embed/README.md +++ b/vendor/github.com/ncruces/go-sqlite3/embed/README.md @@ -1,6 +1,6 @@ # Embeddable Wasm build of SQLite -This folder includes an embeddable Wasm build of SQLite 3.47.2 for use with +This folder includes an embeddable Wasm build of SQLite 3.48.0 for use with [`github.com/ncruces/go-sqlite3`](https://pkg.go.dev/github.com/ncruces/go-sqlite3). The following optional features are compiled in: diff --git a/vendor/github.com/ncruces/go-sqlite3/embed/build.sh b/vendor/github.com/ncruces/go-sqlite3/embed/build.sh index ed2aaec53..a6b21d366 100644 --- a/vendor/github.com/ncruces/go-sqlite3/embed/build.sh +++ b/vendor/github.com/ncruces/go-sqlite3/embed/build.sh @@ -14,7 +14,7 @@ trap 'rm -f sqlite3.tmp' EXIT -o sqlite3.wasm "$ROOT/sqlite3/main.c" \ -I"$ROOT/sqlite3" \ -mexec-model=reactor \ - -matomics -msimd128 -mmutable-globals -mmultivalue \ + -msimd128 -mmutable-globals -mmultivalue \ -mbulk-memory -mreference-types \ -mnontrapping-fptoint -msign-ext \ -fno-stack-protector -fno-stack-clash-protection \ diff --git a/vendor/github.com/ncruces/go-sqlite3/embed/exports.txt b/vendor/github.com/ncruces/go-sqlite3/embed/exports.txt index 546019552..597c79547 100644 --- a/vendor/github.com/ncruces/go-sqlite3/embed/exports.txt +++ b/vendor/github.com/ncruces/go-sqlite3/embed/exports.txt @@ -77,6 +77,7 @@ sqlite3_get_autocommit sqlite3_get_auxdata sqlite3_hard_heap_limit64 sqlite3_interrupt +sqlite3_invoke_busy_handler_go sqlite3_last_insert_rowid sqlite3_limit sqlite3_malloc64 diff --git a/vendor/github.com/ncruces/go-sqlite3/embed/init.go b/vendor/github.com/ncruces/go-sqlite3/embed/init.go index da527abd0..5ffd69516 100644 --- a/vendor/github.com/ncruces/go-sqlite3/embed/init.go +++ b/vendor/github.com/ncruces/go-sqlite3/embed/init.go @@ -8,13 +8,14 @@ package embed import ( _ "embed" + "unsafe" "github.com/ncruces/go-sqlite3" ) //go:embed sqlite3.wasm -var binary []byte +var binary string func init() { - sqlite3.Binary = binary + sqlite3.Binary = unsafe.Slice(unsafe.StringData(binary), len(binary)) } diff --git a/vendor/github.com/ncruces/go-sqlite3/embed/sqlite3.wasm b/vendor/github.com/ncruces/go-sqlite3/embed/sqlite3.wasm index c312aa62a..1d274557a 100644 Binary files a/vendor/github.com/ncruces/go-sqlite3/embed/sqlite3.wasm and b/vendor/github.com/ncruces/go-sqlite3/embed/sqlite3.wasm differ -- cgit v1.2.3