Re: [PATCH 2/3] MIPS: Rename mips_instruction type to workaround bindgen issue
From: Miguel Ojeda
Date: Tue Sep 03 2024 - 13:44:10 EST
On Tue, Sep 3, 2024 at 7:15 PM Jiaxun Yang <jiaxun.yang@xxxxxxxxxxx> wrote:
>
> We have a union and a type both named after mips_instruction,
> rust bindgen is not happy with this kind of naming alias.
For this sort of thing, you may be able to add it to the block list at
`rust/bindgen_parameters`, so that you don't need to change any C
code.
I hope that helps!
Cheers,
Miguel