[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CANiq72==r0uDobx4vyRe76W+3R0XmZAqk25PCej7DwyOOXn17A@mail.gmail.com>
Date: Sun, 17 Aug 2025 18:50:51 +0200
From: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
To: Onur Özkan <work@...rozkan.dev>
Cc: rust-for-linux@...r.kernel.org, dakr@...nel.org, ojeda@...nel.org,
alex.gaynor@...il.com, boqun.feng@...il.com, gary@...yguo.net,
bjorn3_gh@...tonmail.com, lossin@...nel.org, a.hindborg@...nel.org,
aliceryhl@...gle.com, tmgross@...ch.edu, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v1 1/3] rust: make `allocator::aligned_size` a `const fn`
On Sun, Jul 20, 2025 at 11:49 AM Onur Özkan <work@...rozkan.dev> wrote:
>
> Makes `allocator::aligned_size` a `const fn` to allow
> compile-time evaluation.
>
> Signed-off-by: Onur Özkan <work@...rozkan.dev>
For future reference: we wouldn't be able to enable it as-is without
the unstable feature anyway (which Danilo noticed when applied his
version of this) -- if it is needed in the future, the patch is at:
https://lore.kernel.org/all/CANiq72mUXy6AYkwCW_kO3ikjNBc5pLzXw0+fXFGmYum0tGmw1g@mail.gmail.com/
Cheers,
Miguel
Powered by blists - more mailing lists