vmm: switch from lazy_static to once_cell

Once_cell does not require using macro and is slated to become part of
Rust std at some point.

Signed-off-by: Wei Liu <liuwe@microsoft.com>
This commit is contained in:
Wei Liu
2022-06-20 13:53:39 +00:00
committed by Liu Wei
parent 41cec53bb8
commit 8fa1098629
4 changed files with 121 additions and 43 deletions

2
Cargo.lock generated
View File

@@ -1378,12 +1378,12 @@ dependencies = [
"gdbstub",
"gdbstub_arch",
"hypervisor",
"lazy_static",
"libc",
"linux-loader",
"log",
"micro_http",
"net_util",
"once_cell",
"option_parser",
"pci",
"qcow",