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 1
1
[package ]
2
2
name = " coreaudio-sys"
3
- version = " 0.2.9 "
3
+ version = " 0.2.10 "
4
4
authors = [" Mitchell Nordine <mitchell.nordine@gmail.com>" ]
5
5
description = " Bindings for Apple's CoreAudio frameworks generated via rust-bindgen"
6
6
license = " MIT"
Original file line number Diff line number Diff line change @@ -128,10 +128,15 @@ fn build(sdk_path: Option<&str>, target: &str) {
128
128
if target. contains ( "apple-ios" ) {
129
129
// time.h as has a variable called timezone that conflicts with some of the objective-c
130
130
// 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" ) ;
133
133
}
134
134
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
+
135
140
let meta_header: Vec < _ > = headers
136
141
. iter ( )
137
142
. map ( |h| format ! ( "#include <{}>\n " , h) )
You can’t perform that action at this time.
0 commit comments