Re: [PATCH] scripts: generate_rust_analyzer.py: add missing macros -> core dep
From: Miguel Ojeda
Date: Sun Feb 09 2025 - 11:43:55 EST
On Sun, Feb 9, 2025 at 5:39 PM Tamir Duberstein <tamird@xxxxxxxxx> wrote:
>
> I'm not exactly sure what you mean by different sets of crates here.
> What `cfg`s would you want to pass?
What I mean is that, in principle, `cfg`s can be different for the
kernel crates vs. the host crates. For instance, we use
`cfg(no_fp_fmt_parse)` for the kernel's `core`. In practice, it may
not matter. But, in theory, we should be passing different sets.
> We could, but then it's redundant with the deps section. I'll leave it
> explicit for now, since it is just one line.
I am not sure what you mean.
Cheers,
Miguel