re-roder patching

This commit is contained in:
Alex Garcia 2024-07-11 22:49:00 -07:00
parent 584952b9ee
commit 5ac34d1654
2 changed files with 3 additions and 7 deletions

View file

@ -98,15 +98,14 @@ jobs:
with: with:
repository: ncruces/go-sqlite3 repository: ncruces/go-sqlite3
path: go-sqlite3 path: go-sqlite3
- run: .github/workflows/repro.sh
working-directory: go-sqlite3/
- run: git apply ../bindings/go/ncruces/go-sqlite3.patch - run: git apply ../bindings/go/ncruces/go-sqlite3.patch
working-directory: go-sqlite3/ working-directory: go-sqlite3/
- run: ./scripts/vendor.sh - run: .github/workflows/repro.sh
working-directory: go-sqlite3/
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v4
with: with:
name: sqlite-vec-ncruces-go name: sqlite-vec-ncruces-go
path: dist/* path: go-sqlite3/embed/sqlite3.wasm
build-cosmopolitan: build-cosmopolitan:
runs-on: macos-latest runs-on: macos-latest
steps: steps:

View file

@ -10,9 +10,6 @@ index 36183bb..d202a26 100755
-DSQLITE_CUSTOM_INCLUDE=sqlite_opt.h \ -DSQLITE_CUSTOM_INCLUDE=sqlite_opt.h \
$(awk '{print "-Wl,--export="$0}' exports.txt) $(awk '{print "-Wl,--export="$0}' exports.txt)
diff --git a/embed/sqlite3.wasm b/embed/sqlite3.wasm
index 569f0b3..b1d9693 100755
Binary files a/embed/sqlite3.wasm and b/embed/sqlite3.wasm differ
diff --git a/sqlite3/main.c b/sqlite3/main.c diff --git a/sqlite3/main.c b/sqlite3/main.c
index 4fb926b..49a9ee9 100644 index 4fb926b..49a9ee9 100644
--- a/sqlite3/main.c --- a/sqlite3/main.c