Re: [PATCH v2 3/3] build: rust: provide an option to inline C helpers into Rust
From: Miguel Ojeda
Date: Tue Mar 17 2026 - 04:05:50 EST
On Mon, Mar 16, 2026 at 10:34 PM Nathan Chancellor <nathan@xxxxxxxxxx> wrote:
>
> Hmmm, yeah, I suppose so. Actually, adding those would allow you to drop
> the manual inclusion of -DMODULE in cmd_rust_helper because it will be
> included via modkern_cflags.
Yeah, a week ago I asked Alice about simplifying to `is-kernel-object`
as well (mostly because I used it elsewhere in our `Makefile` in the
past), but similarly I ended up thinking that if we are OK using
directly `part-of-*`, then it would be better anyway.
Cheers,
Miguel