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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CANiq72ks-B--6UxO-VsPAvvqpKap7G7rSHxJs5gam0hjWB+vOg@mail.gmail.com>
Date: Tue, 19 Aug 2025 16:47:48 +0200
From: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
To: Matthew Maurer <mmaurer@...gle.com>
Cc: Dirk Behme <dirk.behme@...bosch.com>, 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>, 
	Andreas Hindborg <a.hindborg@...nel.org>, Alice Ryhl <aliceryhl@...gle.com>, 
	Trevor Gross <tmgross@...ch.edu>, Danilo Krummrich <dakr@...nel.org>, 
	Greg Kroah-Hartman <gregkh@...uxfoundation.org>, "Rafael J. Wysocki" <rafael@...nel.org>, 
	Sami Tolvanen <samitolvanen@...gle.com>, Timur Tabi <ttabi@...dia.com>, 
	Benno Lossin <lossin@...nel.org>, linux-kernel@...r.kernel.org, 
	rust-for-linux@...r.kernel.org
Subject: Re: [PATCH v9 3/5] rust: debugfs: Support `PinInit` backing for `File`s.

On Tue, Aug 19, 2025 at 4:33 PM Matthew Maurer <mmaurer@...gle.com> wrote:
>
> The easy way to resolve this is to use `rustc` 1.82.0 or newer (you're
> only one revision behind!), but that's past the MSRV for the kernel at
> the moment of 1.79.0. I intend to send up a new patch today, so I
> suppose I'll need to put that behind a flag similar to
> `RUSTC_HAS_DERIVE_COERCE_POINTEE`.

The syntax changed after our minimum version IIRC -- does this case
require the precise syntax or can we use one of the workarounds?

> Did you add `#![feature(precise_capturing)]` to
> `samples/rust/rust_debugfs.rs` as well? It is its own crate, so it has
> its own set of features.

This would need to go into the `allowed_features` list, assuming it
works, but please check the above to see if the syntax is allowed
across the versions.

Thanks!

Cheers,
Miguel

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ