tursodatabase/libsql

Auto generate bindings when `libsql-sqlite3` is changed

Open

#1.039 geöffnet am 16. Feb. 2024

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)C (490 Forks)batch import
good first issue

Repository-Metriken

Stars
 (16.744 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 23h 19m) (1 gemergte PR in 30 T)

Beschreibung

Whenever there is a change in libsql-sqlite3, we need to generate the sqlite header files and bindings. These commands to be run:

# this updates libsql-ffi and also libsql-sys
cargo xtask build-bundled 
# this updates bindings required for sqlite3-mc
cargo build --features multiple-ciphers

This is a manual step and easy to miss. It happened in #1027 which was fixed later by #1037

We should automate this, as part of the build process. We should also move multiple-ciphers build within build-bundled, so that there is only one command to run

Contributor Guide