[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANiq72moksyUHEYDXu3G_=FaLdXpNJrrihnw5QFhWaRZbdeT3A@mail.gmail.com>
Date: Mon, 25 Nov 2024 14:42:50 +0100
From: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
To: Danilo Krummrich <dakr@...nel.org>
Cc: gregkh@...uxfoundation.org, rafael@...nel.org, bhelgaas@...gle.com,
ojeda@...nel.org, alex.gaynor@...il.com, boqun.feng@...il.com,
gary@...yguo.net, bjorn3_gh@...tonmail.com, benno.lossin@...ton.me,
tmgross@...ch.edu, a.hindborg@...sung.com, aliceryhl@...gle.com,
airlied@...il.com, fujita.tomonori@...il.com, lina@...hilina.net,
pstanner@...hat.com, ajanulgu@...hat.com, lyude@...hat.com, robh@...nel.org,
daniel.almeida@...labora.com, saravanak@...gle.com,
rust-for-linux@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-pci@...r.kernel.org, devicetree@...r.kernel.org,
Wedson Almeida Filho <wedsonaf@...il.com>, Fabien Parent <fabien.parent@...aro.org>
Subject: Re: [PATCH v3 05/16] rust: implement `IdArray`, `IdTable` and `RawDeviceId`
On Tue, Oct 22, 2024 at 11:33 PM Danilo Krummrich <dakr@...nel.org> wrote:
>
> +#![allow(stable_features)]
This should be possible to remove (starting with v6.11 we do this in
the command line).
> +// Stable in Rust 1.83
> +#![feature(const_mut_refs)]
> +#![feature(const_ptr_write)]
> +#![feature(const_maybe_uninit_as_mut_ptr)]
`const_refs_to_cell` is also stable in 1.83, so you could move it also here.
Having said that, to be consistent, I would just put them above sorted
with the rest -- the compiler can tell us and we track this elsewhere
(just added the last two here to our issue #2 list). Either way, it is
not a big deal, this list will be going away soon and we can
celebrate! :)
Thanks!
Cheers,
Miguel
Powered by blists - more mailing lists