mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-03-03 07:33:48 +00:00
In particular the Std::write() API requires that the value implements AsBytes and copies the slice representation into the table data. This avoids unaligned writes which can cause a panic with the updated toolchain. Signed-off-by: Rob Bradford <rbradford@rivosinc.com>