cloud-hypervisor/net_util
Hui Zhu c313bcbfd4 net_util: Change libc::getrandom to getrandom::getrandom
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>
2021-09-17 09:24:10 +02:00
..
src net_util: Change libc::getrandom to getrandom::getrandom 2021-09-17 09:24:10 +02:00
Cargo.toml net_util: Change libc::getrandom to getrandom::getrandom 2021-09-17 09:24:10 +02:00