mirror of
https://github.com/isar/rusqlite.git
synced 2025-12-20 18:32:25 +08:00
Activate generate_cstr bindgen option
This commit is contained in:
@@ -533,6 +533,7 @@ mod bindings {
|
||||
let mut bindings = bindgen::builder()
|
||||
.default_macro_constant_type(bindgen::MacroTypeVariation::Signed)
|
||||
.disable_nested_struct_naming()
|
||||
.generate_cstr(true)
|
||||
.trust_clang_mangling(false)
|
||||
.header(header.clone())
|
||||
.parse_callbacks(Box::new(SqliteTypeChooser));
|
||||
|
||||
Reference in New Issue
Block a user