Re: [PATCH] rust: Ignore preserve-most functions

From: Miguel Ojeda
Date: Wed Dec 13 2023 - 13:44:13 EST


On Tue, Oct 31, 2023 at 9:20 PM Matthew Maurer <mmaurer@xxxxxxxxxx> wrote:
>
> Neither bindgen nor Rust know about the preserve-most calling
> convention, and Clang describes it as unstable. Since we aren't using
> functions with this calling convention from Rust, blocklist them.
>
> These functions are only added to the build when list hardening is
> enabled, which is likely why others didn't notice this yet.
>
> Signed-off-by: Matthew Maurer <mmaurer@xxxxxxxxxx>

Applied to `rust-next` (used Markdown for consistency with the other
comments in the file).

Thanks everyone!

Cheers,
Miguel