crosvm/tests
Daniel Verkamp 19fc097eb8 crosvm: replace lazy_static with once_cell
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>
2022-06-21 23:40:55 +00:00
..
mini_plugin_template.c add support for accessing debug registers in the plugin process 2018-02-12 22:42:35 -08:00
plugin.policy crosvm: pre-cache answers to plugin get calls 2019-10-31 06:18:09 +00:00
plugin_adder.c allow non-dirty log memory regions from the plugin process 2018-02-12 22:42:37 -08:00
plugin_async_write.c crosvm: add plugin API for async writes 2019-11-06 23:01:15 +00:00
plugin_dirty_log.c allow non-dirty log memory regions from the plugin process 2018-02-12 22:42:37 -08:00
plugin_enable_cap.c crosvm: add handling for hyperv exits 2020-03-05 19:01:24 +00:00
plugin_extensions.c allow plugin to query for KVM extensions 2018-02-12 22:42:40 -08:00
plugin_hint.c crosvm: pre-cache answers to plugin get calls 2019-10-31 06:18:09 +00:00
plugin_ioevent.c allow non-dirty log memory regions from the plugin process 2018-02-12 22:42:37 -08:00
plugin_irqfd.c allow non-dirty log memory regions from the plugin process 2018-02-12 22:42:37 -08:00
plugin_msr_index_list.c plugin: allow retrieving list of supported MSRs 2018-07-31 16:37:06 -07:00
plugin_net_config.c Reland "crosvm: Remove CLOEXEC from fds passed into non-jailed plugin" 2022-04-07 23:12:16 +00:00
plugin_supported_cpuid.c crosvm: support kvm's hyper-v cpuid ioctl 2020-02-20 02:12:01 +00:00
plugin_vcpu_pause.c tests: avoid internal error in pause test 2020-02-19 23:05:34 +00:00
plugin_vm_state.c plugin: allow retrieving and setting VM clock 2019-01-22 21:05:18 -08:00
plugins.rs crosvm: replace lazy_static with once_cell 2022-06-21 23:40:55 +00:00
vfs_crypto.c devices: fs: Support fs crypto ioctls 2019-12-10 03:10:57 +00:00