diff --git a/embed/build.sh b/embed/build.sh index a80a94a..7676e03 100755 --- a/embed/build.sh +++ b/embed/build.sh @@ -4,7 +4,7 @@ set -euo pipefail cd -P -- "$(dirname -- "$0")" ROOT=../ -BINARYEN="$ROOT/tools/binaryen-version_114/bin" +BINARYEN="$ROOT/tools/binaryen-version_115/bin" WASI_SDK="$ROOT/tools/wasi-sdk-20.0/bin" "$WASI_SDK/clang" --target=wasm32-wasi -flto -g0 -O2 \ diff --git a/embed/sqlite3.wasm b/embed/sqlite3.wasm index 2e33917..873a7dc 100755 Binary files a/embed/sqlite3.wasm and b/embed/sqlite3.wasm differ diff --git a/go.mod b/go.mod index 4d363f7..4699762 100644 --- a/go.mod +++ b/go.mod @@ -7,8 +7,8 @@ require ( github.com/psanford/httpreadat v0.1.0 github.com/tetratelabs/wazero v1.5.0 golang.org/x/sync v0.3.0 - golang.org/x/sys v0.11.1-0.20230807062127-60ecf133770b - golang.org/x/text v0.12.0 + golang.org/x/sys v0.12.0 + golang.org/x/text v0.13.0 ) retract v0.4.0 // tagged from the wrong branch diff --git a/go.sum b/go.sum index 8e75d76..0bfa3c1 100644 --- a/go.sum +++ b/go.sum @@ -6,7 +6,7 @@ github.com/tetratelabs/wazero v1.5.0 h1:Yz3fZHivfDiZFUXnWMPUoiW7s8tC1sjdBtlJn08q github.com/tetratelabs/wazero v1.5.0/go.mod h1:0U0G41+ochRKoPKCJlh0jMg1CHkyfK8kDqiirMmKY8A= golang.org/x/sync v0.3.0 h1:ftCYgMx6zT/asHUrPw8BLLscYtGznsLAnjq5RH9P66E= golang.org/x/sync v0.3.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= -golang.org/x/sys v0.11.1-0.20230807062127-60ecf133770b h1:SVkT2ohjl5jbz5YNEn1KslYMggyeWG0FbUBDnQOZ3s8= -golang.org/x/sys v0.11.1-0.20230807062127-60ecf133770b/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/text v0.12.0 h1:k+n5B8goJNdU7hSvEtMUz3d1Q6D/XW4COJSJR6fN0mc= -golang.org/x/text v0.12.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= +golang.org/x/sys v0.12.0 h1:CM0HF96J0hcLAwsHPJZjfdNzs0gftsLfgKt57wWHJ0o= +golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/text v0.13.0 h1:ablQoSUd0tRdKxZewP80B+BaqeKJuVhuRxj/dkrun3k= +golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= diff --git a/gormlite/go.mod b/gormlite/go.mod index 28d4aea..5e166a7 100644 --- a/gormlite/go.mod +++ b/gormlite/go.mod @@ -1,6 +1,6 @@ module github.com/ncruces/go-sqlite3/gormlite -go 1.20 +go 1.21 require ( github.com/ncruces/go-sqlite3 v0.8.6 @@ -12,5 +12,5 @@ require ( github.com/jinzhu/now v1.1.5 // indirect github.com/ncruces/julianday v0.1.5 // indirect github.com/tetratelabs/wazero v1.5.0 // indirect - golang.org/x/sys v0.11.1-0.20230807062127-60ecf133770b // indirect + golang.org/x/sys v0.12.0 // indirect ) diff --git a/gormlite/go.sum b/gormlite/go.sum index e413e70..5949029 100644 --- a/gormlite/go.sum +++ b/gormlite/go.sum @@ -8,8 +8,9 @@ github.com/ncruces/julianday v0.1.5 h1:hDJ9ejiMp3DHsoZ5KW4c1lwfMjbARS7u/gbYcd0FB github.com/ncruces/julianday v0.1.5/go.mod h1:Dusn2KvZrrovOMJuOt0TNXL6tB7U2E8kvza5fFc9G7g= github.com/tetratelabs/wazero v1.5.0 h1:Yz3fZHivfDiZFUXnWMPUoiW7s8tC1sjdBtlJn08qYa0= github.com/tetratelabs/wazero v1.5.0/go.mod h1:0U0G41+ochRKoPKCJlh0jMg1CHkyfK8kDqiirMmKY8A= -golang.org/x/sys v0.11.1-0.20230807062127-60ecf133770b h1:SVkT2ohjl5jbz5YNEn1KslYMggyeWG0FbUBDnQOZ3s8= -golang.org/x/sys v0.11.1-0.20230807062127-60ecf133770b/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.12.0 h1:CM0HF96J0hcLAwsHPJZjfdNzs0gftsLfgKt57wWHJ0o= +golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/text v0.12.0 h1:k+n5B8goJNdU7hSvEtMUz3d1Q6D/XW4COJSJR6fN0mc= +golang.org/x/text v0.12.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= gorm.io/gorm v1.25.4 h1:iyNd8fNAe8W9dvtlgeRI5zSVZPsq3OpcTu37cYcpCmw= gorm.io/gorm v1.25.4/go.mod h1:L4uxeKpfBml98NYqVqwAdmV1a2nBtAec/cf3fpucW/k= diff --git a/sqlite3/download.sh b/sqlite3/download.sh index ce9a374..d86db22 100755 --- a/sqlite3/download.sh +++ b/sqlite3/download.sh @@ -3,7 +3,7 @@ set -euo pipefail cd -P -- "$(dirname -- "$0")" -curl -#OL "https://sqlite.org/2023/sqlite-amalgamation-3430000.zip" +curl -#OL "https://sqlite.org/2023/sqlite-amalgamation-3430100.zip" unzip -d . sqlite-amalgamation-*.zip mv sqlite-amalgamation-*/sqlite3* . rm -rf sqlite-amalgamation-* @@ -12,24 +12,24 @@ cat *.patch | patch --posix mkdir -p ext/ cd ext/ -curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.43.0/ext/misc/decimal.c" -curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.43.0/ext/misc/uint.c" -curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.43.0/ext/misc/uuid.c" -curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.43.0/ext/misc/base64.c" -curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.43.0/ext/misc/regexp.c" -curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.43.0/ext/misc/series.c" -curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.43.0/ext/misc/anycollseq.c" +curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.43.1/ext/misc/decimal.c" +curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.43.1/ext/misc/uint.c" +curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.43.1/ext/misc/uuid.c" +curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.43.1/ext/misc/base64.c" +curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.43.1/ext/misc/regexp.c" +curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.43.1/ext/misc/series.c" +curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.43.1/ext/misc/anycollseq.c" cd ~- cd ../vfs/tests/mptest/testdata/ -curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.43.0/mptest/mptest.c" -curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.43.0/mptest/config01.test" -curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.43.0/mptest/config02.test" -curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.43.0/mptest/crash01.test" -curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.43.0/mptest/crash02.subtest" -curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.43.0/mptest/multiwrite01.test" +curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.43.1/mptest/mptest.c" +curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.43.1/mptest/config01.test" +curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.43.1/mptest/config02.test" +curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.43.1/mptest/crash01.test" +curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.43.1/mptest/crash02.subtest" +curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.43.1/mptest/multiwrite01.test" cd ~- cd ../vfs/tests/speedtest1/testdata/ -curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.43.0/test/speedtest1.c" +curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.43.1/test/speedtest1.c" cd ~- \ No newline at end of file diff --git a/vfs/tests/mptest/testdata/build.sh b/vfs/tests/mptest/testdata/build.sh index 8d4247b..b2a4f91 100755 --- a/vfs/tests/mptest/testdata/build.sh +++ b/vfs/tests/mptest/testdata/build.sh @@ -4,7 +4,7 @@ set -euo pipefail cd -P -- "$(dirname -- "$0")" ROOT=../../../../ -BINARYEN="$ROOT/tools/binaryen-version_114/bin" +BINARYEN="$ROOT/tools/binaryen-version_115/bin" WASI_SDK="$ROOT/tools/wasi-sdk-20.0/bin" "$WASI_SDK/clang" --target=wasm32-wasi -flto -g0 -O2 \ diff --git a/vfs/tests/mptest/testdata/mptest.wasm b/vfs/tests/mptest/testdata/mptest.wasm index 5405715..f05cd6c 100644 --- a/vfs/tests/mptest/testdata/mptest.wasm +++ b/vfs/tests/mptest/testdata/mptest.wasm @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d23b37d507077cdcbb616852185370a227278b599187dc134200ed274a7a3a02 -size 1441194 +oid sha256:5b77e9e13a487e976a6e71bc698542098433d1cc586ad8f24784f1f325ffb8dd +size 1459145 diff --git a/vfs/tests/speedtest1/testdata/build.sh b/vfs/tests/speedtest1/testdata/build.sh index 174e067..8fb9e42 100755 --- a/vfs/tests/speedtest1/testdata/build.sh +++ b/vfs/tests/speedtest1/testdata/build.sh @@ -4,7 +4,7 @@ set -euo pipefail cd -P -- "$(dirname -- "$0")" ROOT=../../../../ -BINARYEN="$ROOT/tools/binaryen-version_114/bin" +BINARYEN="$ROOT/tools/binaryen-version_115/bin" WASI_SDK="$ROOT/tools/wasi-sdk-20.0/bin" "$WASI_SDK/clang" --target=wasm32-wasi -flto -g0 -O2 \ diff --git a/vfs/tests/speedtest1/testdata/speedtest1.wasm b/vfs/tests/speedtest1/testdata/speedtest1.wasm index b1e7c99..3104668 100644 --- a/vfs/tests/speedtest1/testdata/speedtest1.wasm +++ b/vfs/tests/speedtest1/testdata/speedtest1.wasm @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:83d67feda51cc974634e245ac2b072f9587c607c7ad97321f2de9dde2188e63a -size 1481348 +oid sha256:3b52de3306965ac3f812592be29697d75232802a13bb16a34344f8d81dbf0637 +size 1499410