Re: [PATCH] kbuild: rust: add rustc-min-version support function

From: Fiona Behrens
Date: Mon Feb 10 2025 - 12:04:57 EST


Miguel Ojeda <ojeda@xxxxxxxxxx> writes:

> Introduce `rustc-min-version` support function that mimics
> `{gcc,clang}-min-version` ones, following commit 88b61e3bff93
> ("Makefile.compiler: replace cc-ifversion with compiler-specific macros").
>
> In addition, use it in the first use case we have in the kernel (which
> was done independently to minimize the changes needed for the fix).
>
> Signed-off-by: Miguel Ojeda <ojeda@xxxxxxxxxx>

Reviewed-by: Fiona Behrens <me@xxxxxxxxxx>