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

@@ -4,6 +4,7 @@
// SPDX-License-Identifier: Apache-2.0
//
use anyhow::anyhow;
use iced_x86::*;
use crate::arch::emulator::{EmulationError, PlatformEmulator, PlatformError};

View File

@@ -10,6 +10,8 @@
// MOVS - Move Data from String to String
//
use anyhow::anyhow;
use crate::arch::x86::emulator::instructions::*;
use crate::arch::x86::regs::DF;

View File

@@ -10,6 +10,8 @@
// STOS - Store String
//
use anyhow::anyhow;
use crate::arch::x86::emulator::instructions::*;
use crate::arch::x86::regs::DF;

View File

@@ -4,8 +4,9 @@
// SPDX-License-Identifier: Apache-2.0
//
use anyhow::Context;
use anyhow::{Context, anyhow};
use iced_x86::*;
use log::debug;
use crate::StandardRegisters;
use crate::arch::emulator::{EmulationError, EmulationResult, PlatformEmulator, PlatformError};