Skip to content

Commit e28c458

Browse files
committed
workaround broken max_align_t
A simple workaround for rust-lang/rust-bindgen#550 that turned on a test error.
1 parent abd006d commit e28c458

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

aom-sys/build.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,9 @@ fn main() {
6767
let headers = libs.get("aom").unwrap().include_paths.clone();
6868
// let buildver = libs.get("vpx").unwrap().version.split(".").nth(1).unwrap();
6969

70-
let mut builder = common_builder().header("data/aom.h");
70+
let mut builder = common_builder()
71+
.header("data/aom.h")
72+
.blacklist_type("max_align_t"); // https://github.com/rust-lang-nursery/rust-bindgen/issues/550
7173

7274
for header in headers {
7375
builder = builder.clang_arg("-I").clang_arg(header.to_str().unwrap());

0 commit comments

Comments
 (0)