[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CANiq72=YOtFTUXgpBPAG5vA21hsuL-YpvgavH7kxWt6p=UW1eQ@mail.gmail.com>
Date: Mon, 21 Aug 2023 01:07:06 +0200
From: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
To: Martin Rodriguez Reboredo <yakoyoku@...il.com>
Cc: Miguel Ojeda <ojeda@...nel.org>,
Alex Gaynor <alex.gaynor@...il.com>,
Wedson Almeida Filho <wedsonaf@...il.com>,
Boqun Feng <boqun.feng@...il.com>, Gary Guo <gary@...yguo.net>,
Björn Roy Baron <bjorn3_gh@...tonmail.com>,
Benno Lossin <benno.lossin@...ton.me>,
rust-for-linux@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3] scripts: generate_rust_analyzer: provide `cfg`s for
`core` and `alloc`
On Fri, Aug 4, 2023 at 7:14 PM Martin Rodriguez Reboredo
<yakoyoku@...il.com> wrote:
>
> Both `core` and `alloc` have their `cfgs` (such as `no_rc`) missing
> in `rust-project.json`.
>
> To remedy this, pass the flags to `generate_rust_analyzer.py` for
> them to be added to a dictionary where each key corresponds to
> a crate and each value to a list of `cfg`s. The dictionary is then
> used to pass the `cfg`s to each crate in the generated file (for
> `core` and `alloc` only).
>
> Suggested-by: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
> Signed-off-by: Martin Rodriguez Reboredo <yakoyoku@...il.com>
Applied to `rust-next` -- thanks!
As discussed, I removed the Suggested-by.
Cheers,
Miguel
Powered by blists - more mailing lists