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] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+tqQ4JF_ZO63U4GiSb6+Ym=m=81kN81xr8Q2q3qypYfYQinxw@mail.gmail.com>
Date: Fri, 2 Jan 2026 10:04:08 +0900
From: Jesung Yang <y.j3ms.n@...il.com>
To: Gary Guo <gary@...yguo.net>
Cc: Jesung Yang via B4 Relay <devnull+y.j3ms.n.gmail.com@...nel.org>, Miguel Ojeda <ojeda@...nel.org>, 
	Boqun Feng <boqun.feng@...il.com>, Björn Roy Baron <bjorn3_gh@...tonmail.com>, 
	Benno Lossin <lossin@...nel.org>, Andreas Hindborg <a.hindborg@...nel.org>, 
	Alice Ryhl <aliceryhl@...gle.com>, Trevor Gross <tmgross@...ch.edu>, 
	Danilo Krummrich <dakr@...nel.org>, rust-for-linux@...r.kernel.org, 
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] scripts: generate_rust_analyzer: reduce the output file size

On Fri, Jan 2, 2026 at 7:09 AM Gary Guo <gary@...yguo.net> wrote:
>
> On Thu, 01 Jan 2026 08:21:24 +0000
> Jesung Yang via B4 Relay <devnull+y.j3ms.n.gmail.com@...nel.org> wrote:
>
> > From: Jesung Yang <y.j3ms.n@...il.com>
> >
> > Use the `cfg_groups` field to aggregate common configurations into a
> > single project-level definition. This avoids repeating identical `cfg`s
> > across crates.
> >
> > As a result, the size of the generated `rust-project.json` is reduced
> > from 11MiB to 406KiB (about 96% reduction).
>
> This feature is not available with Rust Analyzer 1.78.

I suspect you are referring to the rust-analyzer component shipped via
rustup when the 1.78 toolchain is active.

Do we apply our MSRV policy to rust-analyzer as well? The latest
rust-analyzer release supports older Rust versions, including 1.78. In
practice, I believe many people who rely on a language server use the
version provided by their editor extension or IDE, which is usually the
most recent release. AFAIK, it is actually more difficult to use an old
release of rust-analyzer, as it often requires extra setup to manually
downgrade or pin the version.

By the way, thanks for pointing this out!

Best regards,
Jesung

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ