cloud-hypervisor/hypervisor
Alyssa Ross 1ed4898d28 hypervisor: fix building doctests
When doctests are built, the crate is built with itself as a
dependency via --extern.  This causes a compiler error if using a
module with the name same as the crate, because it's ambiguous whether
it's referring to the module, or the extern version of the crate, so
it's necessary to disambiguate when using the hypervisor module here.

Fixes running cargo test --doc --workspace.

Signed-off-by: Alyssa Ross <hi@alyssa.is>
2023-04-05 11:22:47 +01:00
..
src hypervisor: fix building doctests 2023-04-05 11:22:47 +01:00
Cargo.toml hypervisor: make buildable independently 2023-04-04 09:57:19 -07:00