-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
new clang-sys packages break against older versions #114
Comments
ah, I see this relates to #96 - a quick read has me suspecting that this means |
We've been bitten by this as well - bindgen 0.52.0 fails to build as of this morning with a bunch of errors such as:
It is building against |
@jrandall Same here, see my issue in the bindgen repo rust-lang/rust-bindgen#1827 |
The offending versions have been yanked, things should be back to the way they were. |
hi, sorry for the bad news! this applies both to the 0.29 and 0.28 packages, in slightly different ways:
in
0.28.1
,CXCursorAndRangeVisitor
'svisit
wasextern "C" fn(_: *mut c_void, _: CXCursor, _: CXSourceRange) -> CXVisitorResult
, but in0.28.2
that field turned intoOption<extern "C" fn(*mut c_void, CXCursor, CXSourceRange) -> i32>
. since Cargo expects patch bumps of0.y.z
versions to be compatible, this makes for breaking crate selections when building f.exclang
.in
0.29.3
,CXCursorAndRangeVisitor
'svisit
wasOption<extern "C" fn(_: *mut c_void, _: CXCursor, _: CXSourceRange) -> CXVisitorResult>
but becameOption<extern "C" fn(*mut c_void, CXCursor, CXSourceRange) -> i32>
in0.29.4
. The same breaking version selection issues apply here.This showed up in at least two places - pgcentralfoundation/pgrx#8 (comment) this issue, and an entirely unrelated build issue I was just tracking down :)
edit: for good measure I checked
0.27
as well -0.27.0
->0.27.1
has the same breaking change as in0.28.1
->0.28.2
The text was updated successfully, but these errors were encountered: