Skip to content

Commit be43a06

Browse files
committed
Fix #90 Remove max_align_t from generate binding
1 parent 8036126 commit be43a06

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

framework/build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ fn main() {
8282
.header(header_path.to_str().unwrap())
8383
.rust_target(bindgen::RustTarget::Nightly)
8484
.clang_args(vec!["-I", dpdk_include_path.to_str().unwrap()].iter())
85+
.blacklist_type("max_align_t") // https://github.com/servo/rust-bindgen/issues/550
8586
.generate()
8687
.expect("Unable to generate DPDK bindings");
8788
let out_dir = env::var("OUT_DIR").unwrap();

0 commit comments

Comments
 (0)