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

Remove support for clang below version 3.9 #1830

Merged
merged 6 commits into from
Jul 20, 2020

Conversation

kulp
Copy link
Member

@kulp kulp commented Jul 17, 2020

Current bindgen still supports for libclang version 3.8, and even has vestigial support for older versions. This support has a cost, including the cost of continuous integration testing and extra code paths.

LLVM 3.9.0 was released on 02 Sep 2016. The most recent release of LLVM is 10.0.0 (24 Mar 2020).

The current PR implements the first two chunks of #1807 (comment), thereby removing explicit support for libclang before 3.9.

@highfive
Copy link

warning Warning warning

  • These commits modify unsafe code. Please review it carefully!

@kulp kulp marked this pull request as ready for review July 17, 2020 16:29
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.

Yes, this seems fine, good riddance! :)

@emilio
Copy link
Contributor

emilio commented Jul 20, 2020

Can you rebase given your PR hit the mem::replace issue?

@kulp
Copy link
Member Author

kulp commented Jul 20, 2020

Can you rebase given your PR hit the mem::replace issue?

Done !

@emilio emilio merged commit 3e2566d into rust-lang:master Jul 20, 2020
@emilio
Copy link
Contributor

emilio commented Jul 20, 2020

Thanks!

@kulp kulp deleted the deprecate-clang-3_8 branch July 21, 2020 03:15
kulp added a commit to kulp/rust-bindgen that referenced this pull request Feb 2, 2022
This could have been enabled in rust-lang#1830, but it was missed.
kulp added a commit to kulp/rust-bindgen that referenced this pull request Feb 2, 2022
This could have been enabled in rust-lang#1830, but it was missed.
@kulp kulp mentioned this pull request Feb 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants