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
View File
@@ -6,8 +6,6 @@
#[macro_use]
extern crate event_monitor;
#[macro_use]
extern crate lazy_static;
#[macro_use]
extern crate log;
use crate::api::{