[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251110131326.309545df@eugeo>
Date: Mon, 10 Nov 2025 13:13:26 +0000
From: Gary Guo <gary@...yguo.net>
To: Alice Ryhl <aliceryhl@...gle.com>
Cc: Miguel Ojeda <ojeda@...nel.org>, Alex Gaynor <alex.gaynor@...il.com>,
Nathan Chancellor <nathan@...nel.org>, Nicolas Schier <nicolas@...sle.eu>,
Boqun Feng <boqun.feng@...il.com>, "Björn Roy Baron"
<bjorn3_gh@...tonmail.com>, Benno Lossin <lossin@...nel.org>, Andreas
Hindborg <a.hindborg@...nel.org>, Trevor Gross <tmgross@...ch.edu>, Danilo
Krummrich <dakr@...nel.org>, rust-for-linux@...r.kernel.org,
linux-kbuild@...r.kernel.org, linux-kernel@...r.kernel.org,
patches@...ts.linux.dev
Subject: Re: [PATCH 13/18] rust: quote: enable support in kbuild
On Mon, 10 Nov 2025 11:44:03 +0000
Alice Ryhl <aliceryhl@...gle.com> wrote:
> 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@...nel.org>
>
> > 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
This is to be able to skip over edition flags for `quote` when building
the rusttestlib?
Best,
Gary
Powered by blists - more mailing lists