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

From: Alice Ryhl
Date: Wed Nov 01 2023 - 06:20:38 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>

Reviewed-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>