test bindings in an integration-tests crate

This commit is contained in:
Dustin J. Mitchell
2022-01-25 01:27:24 +00:00
parent 56a805151d
commit c006cbe8e5
29 changed files with 4389 additions and 7123 deletions

View File

@@ -7,10 +7,12 @@ fn main() {
Builder::new()
.with_crate(crate_dir)
.with_language(Language::C)
.with_config(Config {
language: Language::C,
cpp_compat: true,
sys_includes: vec!["stdbool.h".into(), "stdint.h".into()],
usize_is_size_t: true,
no_includes: true,
enumeration: EnumConfig {
// this appears to still default to true for C
enum_class: false,