[PATCH] kbuild: rust: add rustc-min-version support function
Masahiro Yamada
masahiroy at kernel.org
Thu Feb 13 17:38:41 PST 2025
On Tue, Feb 11, 2025 at 1:43 AM Miguel Ojeda <ojeda at kernel.org> wrote:
>
> 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 at kernel.org>
> ---
> This is based on top of the fix so that the fix remains as simple as
> possible:
>
> https://lore.kernel.org/rust-for-linux/20250210163732.281786-1-ojeda@kernel.org/
>
Do you want me to pick it up to kbuild tree,
or will you take it with my Ack?
If you go with the latter,
Acked-by: Masahiro Yamada <masahiroy at kernel.org>
--
Best Regards
Masahiro Yamada
More information about the linux-arm-kernel
mailing list