Re: [PATCH 13/18] rust: quote: enable support in kbuild

From: Alice Ryhl
Date: Mon Nov 10 2025 - 06:44:15 EST


On Mon, Nov 10, 2025 at 10:50:18AM +0100, Miguel Ojeda wrote:
> With all the new files in place and ready from the new crate, enable
> the support for it in the build system.
>
> Signed-off-by: Miguel Ojeda <ojeda@xxxxxxxxxx>

> diff --git a/rust/Makefile b/rust/Makefile
> index a614a23023cb..801a8cbf3bdd 100644
> --- a/rust/Makefile
> +++ b/rust/Makefile
> @@ -199,8 +218,8 @@ rustdoc-clean: FORCE
> quiet_cmd_rustc_test_library = $(RUSTC_OR_CLIPPY_QUIET) TL $<
> cmd_rustc_test_library = \
> OBJTREE=$(abspath $(objtree)) \
> - $(RUSTC_OR_CLIPPY) $(rust_common_flags) \
> - @$(objtree)/include/generated/rustc_cfg $(rustc_target_flags) \
> + $(RUSTC_OR_CLIPPY) $(filter-out $(skip_flags),$(rust_common_flags) $(rustc_target_flags)) \
> + @$(objtree)/include/generated/rustc_cfg \
> --crate-type $(if $(rustc_test_library_proc),proc-macro,rlib) \
> --out-dir $(objtree)/$(obj)/test --cfg testlib \
> -L$(objtree)/$(obj)/test \

This change seems unrelated?

Alice