-
Notifications
You must be signed in to change notification settings - Fork 720
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Require libclang 9.0 or newer #2932
Conversation
I think I'd rather do a warning than a hard error. We've had issues detecting versions in e.g. Apple clang. |
I have changed the error to a warning, printed using the log crate. If the user has the logging feature disabled they won't see it. |
It was removed from the merge queue for some reason |
The merge queue has rejected the PR again, apparently due to a workflow failure that is not obvious in the current PR's UI (this seems like a GitHub UX issue to me, but merge queues are new to me). @Kriskras99 maybe you will be able to see something there? I have only glanced at it so far.
|
I have no immediate ideas, I can look into it after the weekend |
It's really weird, the CI passed on my commit and the first attempt at the merge queue. |
That error is unrelated to the rust-for-linux workflow. I can reproduce the error if I run |
Thanks Christian -- yeah, I agree.
No, Rust for Linux is not supposed to require any particular version. The test builds |
Ah, that's what I was missing. Thanks for the help! Should be fixed now, I've disabled version checks for statically linked libclang as it doesn't support version detection. |
Adds a check for the loaded libclang version and logs a warning if the version is unsupported. Will not print a warning if libclang is statically linked.
Adds a check for the loaded libclang version and returns an error if the version is unsupported.