Skip to content

Commit

Permalink
chore: add comment on ffi.rs for sqlite
Browse files Browse the repository at this point in the history
  • Loading branch information
jkomyno committed Nov 15, 2023
1 parent bacb635 commit 263bab0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion quaint/src/connector/sqlite/ffi.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
//! This is a partial copy of `rusqlite::ffi::*`.
//! Here, we export only the constants we need to avoid pulling in `rusqlite::ffi::*`, in the sibling `error.rs` file,
//! which would break Wasm compilation.
pub const SQLITE_BUSY: i32 = 5;
pub const SQLITE_CONSTRAINT_FOREIGNKEY: i32 = 787;
pub const SQLITE_CONSTRAINT_NOTNULL: i32 = 1299;
Expand Down

0 comments on commit 263bab0

Please sign in to comment.