Skip to content

Commit b3ebcf1

Browse files
committed
build: Fix "cargo xtask build-bundled" to update sqlite3mc
1 parent 47e2c3d commit b3ebcf1

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

xtask/src/main.rs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,18 @@ fn build_bundled() -> Result<()> {
142142
"libsql-ffi/bundled/src/sqlite3.h",
143143
])?;
144144

145+
// Also update SQLite3MultipleCiphers bundled files
146+
// These are used when building with --features multiple-ciphers
147+
run_cp(&[
148+
"libsql-sqlite3/sqlite3.c",
149+
"libsql-ffi/bundled/SQLite3MultipleCiphers/src/sqlite3.c",
150+
])?;
151+
152+
run_cp(&[
153+
"libsql-sqlite3/sqlite3.h",
154+
"libsql-ffi/bundled/SQLite3MultipleCiphers/src/sqlite3.h",
155+
])?;
156+
145157
Ok(())
146158
}
147159

0 commit comments

Comments
 (0)