Re: [PATCH v3] kbuild: rust: add PROCMACROLDFLAGS

From: Miguel Ojeda
Date: Wed Jan 15 2025 - 10:26:16 EST


On Tue, Jan 14, 2025 at 11:46 PM Miguel Ojeda
<miguel.ojeda.sandonis@xxxxxxxxx> wrote:
>
> On second thought, #731 probably only applies to `rustc` native flags
> only, rather than those that are passed to the linker (e.g. if I pass
> a dummy flag, it is passed as-is, so I doubt they will start checking,
> and probably they shouldn't), so it may not help here after all.

For completeness: `-Clink-args=` appends (and is allowed to be passed
several times), rather than override. Moreover, the docs say so
explicitly. So it is unlikely that one would change or that #731
applies to it (i.e. as a whole vs. individual options inside it).

Cheers,
Miguel