Re: [PATCH v2] Fail the build on RUST=y and RUST_IS_AVAILABLE=n
From: Andreas Hindborg
Date: Thu May 28 2026 - 07:58:07 EST
"Sasha Finkelstein" <k@xxxxxxxxxxxxxx> writes:
> The current approach of silently disabling all rust drivers if the
> toolchain is missing results in users that try to compile their own
> kernels getting a "successful" build and then being confused about where
> did their drivers go. In comparison, missing openssl results in a build
> failure, not a disappearance of everything that depends on it.
>
> This also means that allyesconfig will depend on rust, but since the
> rust experiment concluded with "rust is here to stay", i believe that
> allyesconfig should be building rust drivers too.
>
> Signed-off-by: Sasha Finkelstein <k@xxxxxxxxxxxxxx>
This is long overdue.
Reviewed-by: Andreas Hindborg <a.hindborg@xxxxxxxxxx>
Best regards,
Andreas Hindborg