Re: [PATCH 1/1] rust: bindgen: Add `alt_instr` as opaque type

From: Miguel Ojeda
Date: Thu Mar 02 2023 - 16:03:13 EST


On Thu, Mar 2, 2023 at 3:59 PM Martin Rodriguez Reboredo
<yakoyoku@xxxxxxxxx> wrote:
>
> Still, we have to be careful if these kind of things appear in
> the future.

Not entirely sure what you mean -- do you mean if some Rust
abstractions used its fields? But if we were in that case, it would
not compile, so we would notice. Or what do you mean?

> And I notice that You haven't mentioned the version of Bindgen that
> You've used, including its linked libclang too. Otherwise I think this
> could be accepted.

I could reproduce this with the expected versions. Since, for now,
those are the only ones supported and the build system emits a warning
otherwise, I think it is fair to assume those versions were used
unless otherwise stated.

Cheers,
Miguel