Re: [PATCH] x86/Kconfig: rust: Patchable function Rust compat

From: Miguel Ojeda
Date: Mon Dec 11 2023 - 10:36:08 EST


On Mon, Dec 11, 2023 at 4:08 PM Matthew Maurer <mmaurer@xxxxxxxxxx> wrote:
>
> + def_bool $(rs-option,-Zpatchable-function-entry=16,16)

We don't have `rs-option` in mainline yet -- missing dependency? We
will likely eventually need it, but currently we only support a single
Rust version anyway, so we could add it (and the flag check itself)
when we upgrade (especially if it is going to be supported soon).

Speaking of which, I can't find the flag in upstream Rust (i.e.
outside the LLVM submodule), and I couldn't find a PR adding it. Could
you please add a `Link:` tag to the tracking issue / PR / ... if it is
submitted / when it is submitted? Or am I very confused?

Cheers,
Miguel