mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
`std::mem::offset_of` supports calculating offset of nested structures, let's use implementation provided by std instead of manual implementation. Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>