Re: [PATCH 09/18] rust: proc-macro2: enable support in kbuild

From: Miguel Ojeda
Date: Mon Nov 10 2025 - 08:28:29 EST


On Mon, Nov 10, 2025 at 2:10 PM Gary Guo <gary@xxxxxxxxxxx> wrote:
>
> So I think the implementation here is sensible. I believe Miguel's
> patch is also pretty much replicating the logic in proc-macro2's
> build.rs.

Exactly, I was essentially following what upstream does for stable compilers.

(More generally, even if a feature may work, if upstream doesn't
usually test "older nightlies", then I wonder if we should enable such
combinations/setups anyway, unless we need them for a particular
reason).

Cheers,
Miguel