mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-24 12:22:22 +00:00
libc::getrandom need to be called inside unsafe and it is not cross-platform friendly. Change it to getrandom::getrandom that is safe and cross-platform friendly. Signed-off-by: Hui Zhu <teawater@antfin.com>