Commit 12a9b00
committed
ci: Compile sqlite3mc with MSVC in the Windows job
A native debug `cargo build -p libsql --all-features` does compile the
bundled SQLite encryption amalgamation (sqlite3mc), but cc-rs derives MSVC
flags from cargo's profile/target and on windows-2025 those flags let MSVC
silently accept breaks that downstream consumers (libsql-js) hit -- e.g.
the SQLite 3.47.0 `#warning` that fails MSVC with error C1021.
Mirror libsql-js's cargo invocation so the same MSVC flags are used:
`--release --target x86_64-pc-windows-msvc`. Also `cargo clean -p libsql-ffi`
so sqlite3mc is rebuilt from source instead of restored from cache.1 parent 1ac5d33 commit 12a9b00
1 file changed
Lines changed: 14 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
247 | 258 | | |
248 | | - | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
249 | 262 | | |
250 | 263 | | |
251 | 264 | | |
| |||
0 commit comments