misc: hypervisor: drop extern crate, use modern rust

This commit is part of a series of similar commits.

Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de>
On-behalf-of: SAP philipp.schuster@sap.com
This commit is contained in:
Philipp Schuster
2025-09-05 09:20:33 +02:00
committed by Rob Bradford
parent e39174ac51
commit b3f929432e
10 changed files with 20 additions and 12 deletions

View File

@@ -21,12 +21,6 @@
//! - riscv64 (experimental)
//!
#[macro_use]
extern crate anyhow;
#[allow(unused_imports)]
#[macro_use]
extern crate log;
/// Architecture specific definitions
#[macro_use]
pub mod arch;
@@ -53,6 +47,7 @@ mod device;
use std::sync::Arc;
use anyhow::anyhow;
use concat_idents::concat_idents;
#[cfg(target_arch = "x86_64")]
pub use cpu::CpuVendor;