lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAH5fLgg8qarUp8VGGN8E8Wk_udg70yQWQcMR8a3i+cNZeVqC4g@mail.gmail.com>
Date: Mon, 6 Jan 2025 14:41:00 +0100
From: Alice Ryhl <aliceryhl@...gle.com>
To: Fiona Behrens <me@...enk.dev>
Cc: Miguel Ojeda <ojeda@...nel.org>, Alex Gaynor <alex.gaynor@...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>, Andreas Hindborg <a.hindborg@...nel.org>, 
	Trevor Gross <tmgross@...ch.edu>, rust-for-linux@...r.kernel.org, 
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] rust: rust-analyzer: add proc_macro for macros crate

On Thu, Dec 5, 2024 at 12:54 PM Fiona Behrens <me@...enk.dev> wrote:
>
> Add the proc_macro crate from the rust sysroot to the
> rust-project.json file used by rust-analyzer. This allows
> rust-analyzer to autocomplete items from the proc_macro crate inside
> the macros crate.
>
> This also adds std and alloc only to be used by proc_macro and
> macros. This does not add the dependencies of those crates as this is
> sufficent for rust-analyzer to have a basic autocompletion support
> without having to worry about all the dependencies std usually needs.
> alloc is added, as e.g. std::vec just reexports from alloc, so that
> macros can use autocompletion for Vec and similar.

If you say that's sufficient, then I believe you.

> Signed-off-by: Fiona Behrens <me@...enk.dev>

Reviewed-by: Alice Ryhl <aliceryhl@...gle.com>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ