Re: [PATCH 2/3] kconfig: Add special rust_modules config option

From: Randy Dunlap
Date: Tue Nov 07 2023 - 22:01:54 EST




On 11/7/23 18:26, Matthew Maurer wrote:
> Adds support for the rust_modules kconfig type, which works similarly to
> modules, but for restricting or allowing the use of modules which
> directly depend on Rust.
>
> Signed-off-by: Matthew Maurer <mmaurer@xxxxxxxxxx>
> ---
> scripts/kconfig/confdata.c | 3 +++
> scripts/kconfig/expr.h | 1 +
> scripts/kconfig/lexer.l | 1 +
> scripts/kconfig/lkc.h | 1 +
> scripts/kconfig/menu.c | 7 +++++--
> scripts/kconfig/parser.y | 12 ++++++++++++
> scripts/kconfig/symbol.c | 31 +++++++++++++++++++++++++++++--
> 7 files changed, 52 insertions(+), 4 deletions(-)
>

Hi,

This appears to be a change to the Kconfig language, so please update
Documentation/kbuild/kconfig-language.rst with some prose explaining it.

Thanks.
--
~Randy