Re: [PATCH 2/6] kbuild: rust: make command for `RUSTC_VERSION_TEXT` closer to the `CC` one

From: Miguel Ojeda
Date: Sat Aug 10 2024 - 07:37:54 EST


On Fri, Aug 9, 2024 at 7:53 PM Masahiro Yamada <masahiroy@xxxxxxxxxx> wrote:
>
> Even if "rustc --version" starts to print multiple lines,
> it will not cause an immediate problem.
>
> $(shell ... ) (both Makefile and Kconfig) replaces a new line
> with a space.
>
> CONFIG_RUSTC_VERSION_TEXT is not broken in any way.
> It would be just longer than we would expect.

+1, I will update the commit message when I apply it (or if you prefer
a v2 if you are taking it, or if you want to drop this commit, please
let me know!).

Thanks for taking a look, Masahiro.

Cheers,
Miguel