Skip to content
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

Drop support for clang <4.0 #2155

Merged
merged 7 commits into from
Feb 18, 2022
Merged

Conversation

kulp
Copy link
Member

@kulp kulp commented Feb 2, 2022

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.

Copy link
Contributor

@emilio emilio left a 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!

@kulp kulp marked this pull request as ready for review February 2, 2022 18:58
@@ -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
Copy link
Member Author

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 ?

Copy link
Contributor

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.

Copy link
Contributor

@emilio emilio left a 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

@emilio emilio merged commit ddfa28f into rust-lang:master Feb 18, 2022
@kulp kulp deleted the deprecate-clang-3-9 branch February 20, 2022 00:47
kulp added a commit to kulp/rust-bindgen that referenced this pull request Feb 20, 2022
This should have been added in rust-lang#2155 but was missed then.
emilio pushed a commit that referenced this pull request Mar 15, 2022
This should have been added in #2155 but was missed then.
aatifsyed pushed a commit to aatifsyed/rust-bindgen that referenced this pull request Sep 22, 2022
This should have been added in rust-lang#2155 but was missed then.
LoganBarnett pushed a commit to LoganBarnett/rust-bindgen that referenced this pull request Dec 2, 2023
This should have been added in rust-lang#2155 but was missed then.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants