From d4620aedb1e085462f82d2a643a20c7de743ea2b Mon Sep 17 00:00:00 2001 From: iximeow Date: Sun, 22 Aug 2021 15:04:33 -0700 Subject: bump to yaxpeax-arch 0.2.7 and proper field description support --- src/real_mode/mod.rs | 4 ++-- src/real_mode/vex.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/real_mode') diff --git a/src/real_mode/mod.rs b/src/real_mode/mod.rs index d43005e..6eefdad 100644 --- a/src/real_mode/mod.rs +++ b/src/real_mode/mod.rs @@ -13,7 +13,7 @@ use core::cmp::PartialEq; use core::hint::unreachable_unchecked; use yaxpeax_arch::{AddressDiff, Decoder, Reader, LengthedInstruction}; -use yaxpeax_arch::{AnnotatingDecoder, DescriptionSink, NullSink}; +use yaxpeax_arch::annotation::{AnnotatingDecoder, DescriptionSink, NullSink}; use yaxpeax_arch::{DecodeError as ArchDecodeError}; use core::fmt; @@ -7490,7 +7490,7 @@ impl FieldDescription { } } -impl yaxpeax_arch::FieldDescription for FieldDescription { +impl yaxpeax_arch::annotation::FieldDescription for FieldDescription { fn id(&self) -> u32 { self.id } diff --git a/src/real_mode/vex.rs b/src/real_mode/vex.rs index 9474a49..0534641 100644 --- a/src/real_mode/vex.rs +++ b/src/real_mode/vex.rs @@ -1,5 +1,5 @@ use yaxpeax_arch::Reader; -use yaxpeax_arch::DescriptionSink; +use yaxpeax_arch::annotation::DescriptionSink; use crate::real_mode::Arch; use crate::real_mode::OperandSpec; -- cgit v1.1