[PATCH 2/3] MIPS: Rename mips_instruction type to workaround bindgen issue

Miguel Ojeda miguel.ojeda.sandonis at gmail.com
Tue Sep 3 10:43:46 PDT 2024


On Tue, Sep 3, 2024 at 7:15 PM Jiaxun Yang <jiaxun.yang at flygoat.com> 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



More information about the linux-um mailing list