Re: [PATCH v2] rust: stop using ptr_metadata feature

From: Miguel Ojeda
Date: Sun Feb 18 2024 - 15:24:29 EST


On Thu, Feb 15, 2024 at 11:46 AM Alice Ryhl <aliceryhl@xxxxxxxxxx> wrote:
>
> The `byte_sub` method was stabilized in Rust 1.75.0. By using that
> method, we no longer need the unstable `ptr_metadata` feature for
> implementing `Arc::from_raw`.
>
> This brings us one step closer towards not using unstable compiler
> features.
>
> Reviewed-by: Benno Lossin <benno.lossin@xxxxxxxxx>
> Reviewed-by: Martin Rodriguez Reboredo <yakoyoku@xxxxxxxxx>
> Reviewed-by: Trevor Gross <tmgross@xxxxxxxxx>
> Signed-off-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>

Applied to `rust-next` with slightly reworded title -- thanks everyone!

Cheers,
Miguel