File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 11[package ]
22name = " coreaudio-sys"
3- version = " 0.2.9 "
3+ version = " 0.2.10 "
44authors = [" Mitchell Nordine <mitchell.nordine@gmail.com>" ]
55description = " Bindings for Apple's CoreAudio frameworks generated via rust-bindgen"
66license = " MIT"
Original file line number Diff line number Diff line change @@ -128,10 +128,15 @@ fn build(sdk_path: Option<&str>, target: &str) {
128128 if target. contains ( "apple-ios" ) {
129129 // time.h as has a variable called timezone that conflicts with some of the objective-c
130130 // calls from NSCalendar.h in the Foundation framework. This removes that one variable.
131- builder = builder. blacklist_item ( "timezone" ) ;
132- builder = builder. blacklist_item ( "objc_object" ) ;
131+ builder = builder. blocklist_item ( "timezone" ) ;
132+ builder = builder. blocklist_item ( "objc_object" ) ;
133133 }
134134
135+ // bindgen produces alignment tests that cause undefined behavior in some cases.
136+ // This seems to happen across all apple target tripples :/.
137+ // https://github.com/rust-lang/rust-bindgen/issues/1651
138+ builder = builder. layout_tests ( false ) ;
139+
135140 let meta_header: Vec < _ > = headers
136141 . iter ( )
137142 . map ( |h| format ! ( "#include <{}>\n " , h) )
You can’t perform that action at this time.
0 commit comments