Il ven 18 ott 2024, 05:16 Junjie Mao ha scritto:
>
> Paolo Bonzini writes:
>
> > On Thu, Oct 17, 2024 at 7:35 AM Junjie Mao
> wrote:
> >> Paolo Bonzini writes:
> >> > offset_of! was stabilized in Rust 1.77.0. Use an alternative
> implemenation
> >> > that was found on the Rust forums, and who
Paolo Bonzini writes:
> On Thu, Oct 17, 2024 at 7:35 AM Junjie Mao wrote:
>> Paolo Bonzini writes:
>> > offset_of! was stabilized in Rust 1.77.0. Use an alternative implemenation
>> > that was found on the Rust forums, and whose author agreed to license as
>> > MIT for use in QEMU.
>> >
>> >
On Thu, Oct 17, 2024 at 7:35 AM Junjie Mao wrote:
> Paolo Bonzini writes:
> > offset_of! was stabilized in Rust 1.77.0. Use an alternative implemenation
> > that was found on the Rust forums, and whose author agreed to license as
> > MIT for use in QEMU.
> >
> > The alternative allows only one l
Paolo Bonzini writes:
> offset_of! was stabilized in Rust 1.77.0. Use an alternative implemenation
> that was found on the Rust forums, and whose author agreed to license as
> MIT for use in QEMU.
>
> The alternative allows only one level of field access, but apart
> from this can be used just
offset_of! was stabilized in Rust 1.77.0. Use an alternative implemenation
that was found on the Rust forums, and whose author agreed to license as
MIT for use in QEMU.
The alternative allows only one level of field access, but apart
from this can be used just by replacing core::mem::offset_of! w