mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-31 00:45:22 +00:00
d17d70fae1
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>