Paolo Bonzini writes:
> Il lun 21 ott 2024, 09:24 Junjie Mao ha scritto:
>
> > Thanks. I still prefer to keep the procedural macro code minimal, and
> have the
> > code generation in a separate macro, but this is a nice start!
> >
>
> I'm not sure if I get your point right.
>
> My under
Il lun 21 ott 2024, 09:24 Junjie Mao ha scritto:
> > Thanks. I still prefer to keep the procedural macro code minimal, and
> have the
> > code generation in a separate macro, but this is a nice start!
> >
>
> I'm not sure if I get your point right.
>
> My understanding is that preferring minimiz
Paolo Bonzini writes:
> On 10/21/24 07:40, Junjie Mao wrote:
>> 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
On 10/21/24 07:40, Junjie Mao wrote:
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 jus
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! wi