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: <d45454c1-44a1-4e47-a3ef-2ff37d529235@nvidia.com>
Date: Fri, 12 Sep 2025 16:31:07 -0700
From: John Hubbard <jhubbard@...dia.com>
To: Alexandre Courbot <acourbot@...dia.com>,
 Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
Cc: Danilo Krummrich <dakr@...nel.org>, Alice Ryhl <aliceryhl@...gle.com>,
 Vitaly Wool <vitaly.wool@...sulko.se>, rust-for-linux@...r.kernel.org,
 linux-kernel@...r.kernel.org, Alex Gaynor <alex.gaynor@...il.com>,
 Boqun Feng <boqun.feng@...il.com>, Gary Guo <gary@...yguo.net>,
 Bjorn Roy Baron <bjorn3_gh@...tonmail.com>, Benno Lossin
 <lossin@...nel.org>, Andreas Hindborg <a.hindborg@...nel.org>,
 Trevor Gross <tmgross@...ch.edu>, Onur Özkan
 <work@...rozkan.dev>
Subject: Re: [PATCH v2] rust: rbtree: add immutable cursor

On 9/10/25 7:33 PM, Alexandre Courbot wrote:
> On Thu Sep 11, 2025 at 4:40 AM JST, John Hubbard wrote:
>> On 9/9/25 7:50 PM, Miguel Ojeda wrote:
>>> On Wed, Sep 10, 2025 at 3:09 AM John Hubbard <jhubbard@...dia.com> wrote:
...
>> It leaves unanswered, the question of whether (and how) to use something
>> like the &raw feature, which requires Rust 1.82.0, given that the
>> stated min Rust version is 1.78.
>>
>> Is there some sort of exception to the "min Rust version"? I haven't
>> figured out where that is written down.
> 
> My understanding is that while the feature enabling this syntax
> (`raw_ref_op`) is stable since 1.82, it has been introduced as an
> unstable feature before 1.78. So it is here, just not enabled by
> default before 1.82.

aha, that's the key point that I was missing.

> 
> R4L enables some of these unstable features when needed, especially
> since they have been stabilized meanwhile. For instance, we did it with
> the `pointer_is_aligned` feature for the `FromBytes` patch [1].
> 

OK, I see. Thanks for explaining!


thanks,
-- 
John Hubbard


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ