mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
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:
committed by
Rob Bradford
parent
e39174ac51
commit
b3f929432e
@@ -4,6 +4,7 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
use anyhow::anyhow;
|
||||
use iced_x86::*;
|
||||
|
||||
use crate::arch::emulator::{EmulationError, PlatformEmulator, PlatformError};
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -10,6 +10,8 @@
|
||||
// STOS - Store String
|
||||
//
|
||||
|
||||
use anyhow::anyhow;
|
||||
|
||||
use crate::arch::x86::emulator::instructions::*;
|
||||
use crate::arch::x86::regs::DF;
|
||||
|
||||
|
||||
@@ -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};
|
||||
|
||||
Reference in New Issue
Block a user