| Date | Thu, 30 Mar 2023 15:33:38 +0200 | From | Alice Ryhl <> | Subject | Re: [PATCH v3 03/13] rust: types: add `Opaque::raw_get` |
| |
On 3/30/23 00:33, y86-dev@protonmail.com wrote: > From: Benno Lossin <y86-dev@protonmail.com> > > This function mirrors `UnsafeCell::raw_get`. It avoids creating a > reference and allows solely using raw pointers. > The `pin-init` API will be using this, since uninitialized memory > requires raw pointers. > > Signed-off-by: Benno Lossin <y86-dev@protonmail.com>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
|