-
Notifications
You must be signed in to change notification settings - Fork 745
Drop support for clang <4.0 #2155
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
Conversation
Here we delete a workaround that is no longer needed.
321340a
to
111c09b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is awesome, thanks!
@@ -7,16 +7,13 @@ This page lists the requirements for running `bindgen` and how to get them. | |||
`bindgen` leverages `libclang` to preprocess, parse, and type check C and C++ | |||
header files. | |||
|
|||
It is recommended to use Clang 3.9 or greater, however `bindgen` can run with | |||
It is recommended to use Clang 4.0 or greater, however `bindgen` can run with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@emilio, is it correct and helpful to continue to reference older-than-4.0 versions of Clang here ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably not much, also pretty much everyone should have newer clang at this point.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thanks again
This should have been added in rust-lang#2155 but was missed then.
This should have been added in #2155 but was missed then.
This should have been added in rust-lang#2155 but was missed then.
In the vein of #1807, the current PR removes
bindgen
's support for Clang 3.9. After this PR, the minimum Clang version supported is 4.0, which was released on 13 Mar 2017.This PR follows on from #1830, which removed support for versions prior to Clang 3.9. The current PR also cleans up some things that should have been caught when support for Clang <3.9 was removed.