mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-25 13:23:08 +00:00
19fc097eb8
We depend on both lazy_static and once_cell, which do basically the same thing. The once_cell crate has a few advantages: - once_cell is on track to be included into libstd. (https://github.com/rust-lang/rust/issues/74465) - once_cell doesn't require macro magic. Replace the uses of lazy_static with their once_cell equivalents so we don't need to pull in both crates. BUG=b:236191006 TEST=tools/presubmit --all TEST=tools/run_tests --target=host --arch=win64 --build-only TEST=cargo test --features=plugin Change-Id: I7cabcd837ef4878e8e8ae635bb4f235a58e4cae3 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3707624 Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> Reviewed-by: Noah Gold <nkgold@google.com> |
||
---|---|---|
.. | ||
mini_plugin_template.c | ||
plugin.policy | ||
plugin_adder.c | ||
plugin_async_write.c | ||
plugin_dirty_log.c | ||
plugin_enable_cap.c | ||
plugin_extensions.c | ||
plugin_hint.c | ||
plugin_ioevent.c | ||
plugin_irqfd.c | ||
plugin_msr_index_list.c | ||
plugin_net_config.c | ||
plugin_supported_cpuid.c | ||
plugin_vcpu_pause.c | ||
plugin_vm_state.c | ||
plugins.rs | ||
vfs_crypto.c |