arch: use libc::getrandom() instead of rand crate

This removes the last use of rand in our tree and the removal of several
dependencies.

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford
2021-02-22 15:43:48 +00:00
parent 24922ce1e3
commit ade5097878
3 changed files with 10 additions and 67 deletions
-2
View File
@@ -26,5 +26,3 @@ vm-migration = { path = "../vm-migration" }
git = "https://github.com/rust-vmm/linux-loader"
features = ["elf", "bzimage"]
[dev-dependencies]
rand = "0.8.3"