mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-22 07:51:16 +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> |
||
---|---|---|
.. | ||
ctrl_queue.rs | ||
lib.rs | ||
mac.rs | ||
open_tap.rs | ||
queue_pair.rs | ||
tap.rs |