Re: [PATCH] rust: add flags for shadow call stack sanitizer

From: Miguel Ojeda
Date: Tue Mar 05 2024 - 07:09:45 EST


On Mon, Mar 4, 2024 at 9:10 PM Sami Tolvanen <samitolvanen@xxxxxxxxxx> wrote:
>
> Sure, having a custom target description for the kernel might be
> useful for other purposes too. In the meantime:

Yeah, though to be clear: eventually the goal is to avoid using the
`target.json` since it will not be stable, i.e. the support we have
for `target.json` is good for having the maximum flexibility, but it
is only a workaround for the beginning.

So for each arch we need to get things stable in one way or another
that does not require a custom `target.json` (`-Ctarget-feature`s
where they make sense; otherwise "global target features"/target
options/flags or new builtin targets).

Cheers,
Miguel