Commit 3173a7e
Zachary Whitley
fix(ci): export LIBSQLITE3_FLAGS with SESSION + PREUPDATE_HOOK
host's session/changeset subcommand links against sqlite3session_*
+ sqlite3changeset_* which require the SESSION + PREUPDATE_HOOK
features in libsqlite3-sys's bundled amalgamation. The local dev
flow gets these via the [env] block of .cargo/config.toml (created
by scripts/setup-cargo-config.sh from the template). CI doesn't
run that script + .cargo/config.toml is gitignored, so the
amalgamation compiled without the flags and host's link failed
with 'undefined symbol: sqlite3session_attach' (+12 more).
Mirror the template's LIBSQLITE3_FLAGS line directly into ci.yml's
workflow env. Wasm-smoke is unaffected (already runs the setup
script alongside the wasi-sdk download).1 parent 4517e65 commit 3173a7e
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
23 | 31 | | |
24 | 32 | | |
25 | 33 | | |
| |||
0 commit comments