在2024年9月3日九月 下午6:43,Miguel Ojeda写道: > On Tue, Sep 3, 2024 at 7:15 PM Jiaxun Yang <[email protected]> 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
- [PATCH 0/3] rust: Initial MIPS support Jiaxun Yang
- [PATCH 1/3] rust: Introduce HAVE_GENERATE_RUST_TAR... Jiaxun Yang
- Re: [PATCH 1/3] rust: Introduce HAVE_GENERATE_... Miguel Ojeda
- Re: [PATCH 1/3] rust: Introduce HAVE_GENERATE_... Johannes Berg
- [PATCH 2/3] MIPS: Rename mips_instruction type to ... Jiaxun Yang
- Re: [PATCH 2/3] MIPS: Rename mips_instruction ... Miguel Ojeda
- Re: [PATCH 2/3] MIPS: Rename mips_instruct... Jiaxun Yang
- Re: [PATCH 2/3] MIPS: Rename mips_instruction ... Geert Uytterhoeven
- Re: [PATCH 2/3] MIPS: Rename mips_instruction ... Maciej W. Rozycki
- [PATCH 3/3] rust: Enable for MIPS Jiaxun Yang
- Re: [PATCH 3/3] rust: Enable for MIPS Miguel Ojeda
- Re: [PATCH 3/3] rust: Enable for MIPS Jiaxun Yang
- Re: [PATCH 3/3] rust: Enable for MIPS Miguel Ojeda
- Re: [PATCH 3/3] rust: Enable for ... Jiaxun Yang
- Re: [PATCH 3/3] rust: Enable ... Miguel Ojeda
- Re: [PATCH 3/3] rust: Ena... Jiaxun Yang
- Re: [PATCH 3/3] rust: Ena... Miguel Ojeda
