[PATCH 2/3] MIPS: Rename mips_instruction type to workaround bindgen issue
Jiaxun Yang
jiaxun.yang at flygoat.com
Tue Sep 3 10:54:44 PDT 2024
在2024年9月3日九月 下午6:43,Miguel Ojeda写道:
> 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.
Thanks for the tip!
Given that it's trivial to avoid in C code I'd still prefer to fix the actual
code.
Thanks
>
> I hope that helps!
>
> Cheers,
> Miguel
--
- Jiaxun
More information about the linux-um
mailing list