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

@@ -12,7 +12,7 @@
use thiserror::Error;
#[cfg(not(target_arch = "riscv64"))]
use vm_memory::GuestAddress;
use {anyhow::anyhow, vm_memory::GuestAddress};
#[cfg(any(target_arch = "aarch64", target_arch = "riscv64"))]
use crate::RegList;