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 <5.0 #2166

Closed
wants to merge 6 commits into from
Closed

Conversation

kulp
Copy link
Member

@kulp kulp commented Feb 20, 2022

In the vein of #1807, the current PR removes bindgen's support for Clang 4.0. After this PR, the minimum Clang version supported is 5.0.1, which was released on 21 Dec 2017.

This PR follows on from #2155, which removed support for versions prior to Clang 4.0. The current PR also cleans up some things that should have been caught when support for Clang <4.0 was removed.

@kulp
Copy link
Member Author

kulp commented Feb 20, 2022

If and when this PR merges, there will be no more instances of ::is_loaded() in the code for checking individual functions. I think this means we could stop using the clang-sys/runtime feature. Would this also mean that we could get rid of the rust-bindgen/runtime feature also ? That could cut down the number of CI jobs by half.

@bors-servo
Copy link

☔ The latest upstream changes (presumably 6a169f2) made this pull request unmergeable. Please resolve the merge conflicts.

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.

Thanks!

@emilio emilio closed this in 6323715 Mar 15, 2022
@kulp kulp deleted the drop-clang-4.0 branch March 15, 2022 21:27
aatifsyed pushed a commit to aatifsyed/rust-bindgen that referenced this pull request Sep 22, 2022
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.

3 participants