Re: [PATCH v4 00/11] rust: bindings: Auto-generate inline static functions

From: Andreas Hindborg
Date: Wed Dec 04 2024 - 08:14:16 EST



Hi Alistair,

"Alistair Francis" <alistair@xxxxxxxxxxxxx> writes:
>
> This series adds support for bindgen generating wrappers for inline statics and
> then converts the existing helper functions to this new method. This doesn't
> work for C macros, so we can't reamove all of the helper functions, but we
> can remove most.

Are you aware of the helper LTO patches by Gary [1]? Can you tell if
this series will compose with the LTO patches?

Also see this Zulip thread for discussion on the LTO patches [2].


Best regards,
Andreas Hindborg



[1] https://github.com/nbdd0121/linux/tree/thin-lto
[2] https://rust-for-linux.zulipchat.com/#narrow/channel/288089-General/topic/LTO.20Rust.20modules.20with.20C.20helpers