Re: [PATCH 2/3] MIPS: Rename mips_instruction type to workaround bindgen issue
From: Jiaxun Yang
Date: Tue Sep 03 2024 - 13:55:20 EST
在2024年9月3日九月 下午6:43,Miguel Ojeda写道:
> 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.
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