Re: [PATCH] rust: warn when using libclang >=19.1 with bindgen <0.70
From: Miguel Ojeda
Date: Wed Oct 30 2024 - 11:26:21 EST
On Wed, Oct 30, 2024 at 2:41 PM Alice Ryhl <aliceryhl@xxxxxxxxxx> wrote:
>
> However, the regression fix is only available in bindgen versions 0.70.0
> or later. This means that when older bindgen versions are used with new
No, it is also available in bindgen 0.69.5 -- it was backported there.
As I was mentioning in Zulip, I want to gather some information first
before deciding whether to put a warning here or do something else,
especially since there is no code triggering it yet in mainline (that
we are aware of).
For instance, I have been checking some distributions. Fedora 41 will
get the backported version in 2 days (according to the maintainers),
and indeed the new one does not trigger it (and the base one does).
The Docker `fedora:41` image is OK as-is, but only because it seems to
have the update because it is still a pre-release. Fedora 40 is OK.
I also tested Debian and Ubuntu: Ubuntu LTS is OK, but Oracular is
not. Debian Testing is OK, but Sid is not. I have pinged them to see
what they have in mind.
Cheers,
Miguel