> +impl PL011State {
> +pub fn init(&mut self) {
> +let dev = addr_of_mut!(*self).cast::();
One small thing that I forgot about, is that the init function should be unsafe.
For a short term change after this is merged, this should take not a
&mut self, but a "obj: &mut MaybeUninit".
On Wed, Aug 28, 2024 at 6:12 AM Manos Pitsidianakis
wrote:
> subprojects/packagefiles/either-1-rs/meson.build | 24 +
> .../packagefiles/itertools-0.11-rs/meson.build | 30 ++
> .../packagefiles/proc-macro-error-1-rs/meson.build | 40 ++
> .../proc-macro-error-attr-1-rs/meson.build