Skip to content

Commit 096c48c

Browse files
alltheseasclaude
andcommitted
Fix Windows CI build by enabling bundled SQLite
The Windows CI was failing with "cannot open input file 'sqlite3.lib'" because rusqlite (used by tor-dirmgr in Arti) was trying to link against a system SQLite installation that doesn't exist in the CI environment. Changes: - Add rusqlite patch with bundled feature to force compilation from source - Remove incorrect LIBSQLITE3_SYS_BUNDLING/STATIC env vars that don't work The bundled feature uses the cc crate to compile SQLite from source, eliminating the need for system-installed sqlite3.lib on Windows. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent f00bea3 commit 096c48c

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

.cargo/config.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,2 @@
11
[target.aarch64-unknown-linux-gnu]
22
linker = "aarch64-linux-gnu-gcc"
3-
4-
[env]
5-
LIBSQLITE3_SYS_BUNDLING = "1"
6-
LIBSQLITE3_SYS_STATIC = "1"

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,3 +125,4 @@ puffin_egui = { git = "https://github.com/jb55/puffin", package = "puffin_egui",
125125
#android-activity = { git = "https://github.com/damus-io/android-activity", rev = "f56c974aa5182d5fbd361879f5899eb8f11a37ec" }
126126
#android-activity = { path = "/home/jb55/dev/github/rust-mobile/android-activity/android-activity" }
127127
ewebsock = { path = "vendor/ewebsock" }
128+
rusqlite = { version = "0.37", features = ["bundled"] }

0 commit comments

Comments
 (0)