Files
turso/testing/sqlite_test_ext
Jussi Saurio bc9b682a0a testing: return the init status from the SQLite test extension
sqlite3_limbosqlitetestext_init had no return type, but SQLite calls an
extension's init function as returning an int status code. SQLite then
read whatever was left in the return register. It worked by luck: with
full debug info, rustc at opt-level 0 leaves the callee's result in eax.
With CARGO_PROFILE_DEV_DEBUG=line-tables-only it aligns the stack with
push rax / pop rax around the call instead, the pop puts junk back in
eax, and sqlite3 fails the .load with "error during initialization".
This broke test-sqlite in CI.

Return sqlite3_kvstore_init's status code.
2026-10-14 08:01:53 +03:00
..
2025-06-14 05:26:10 +02:00
2025-06-14 05:26:10 +02:00
2025-06-14 05:26:10 +02:00