From 739317f268b4ed1a8f3e06af6c6fdf977219d4f9 Mon Sep 17 00:00:00 2001 From: novafacing Date: Mon, 24 Jun 2024 13:00:04 -0700 Subject: Bump yaxpeax-arch and bitvec, allow use of deprecated yaxpeax-arch traits, fix bitvec syntax changes --- src/armv8/a64.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/armv8') diff --git a/src/armv8/a64.rs b/src/armv8/a64.rs index 87ded05..f60b87a 100644 --- a/src/armv8/a64.rs +++ b/src/armv8/a64.rs @@ -7,7 +7,9 @@ use core::fmt::{self, Display, Formatter}; -use yaxpeax_arch::{Arch, AddressDiff, Decoder, LengthedInstruction, Reader, ReadError, ShowContextual, YaxColors}; +use yaxpeax_arch::{Arch, AddressDiff, Decoder, LengthedInstruction, Reader, ReadError}; +#[allow(deprecated)] +use yaxpeax_arch::{ShowContextual, YaxColors}; #[allow(non_snake_case)] mod docs { @@ -225,6 +227,7 @@ impl yaxpeax_arch::Instruction for Instruction { /// displaying an instruction the same way its `Display` impl would. pub struct NoContext; +#[allow(deprecated)] impl ShowContextual for Instruction { fn contextualize(&self, _colors: &Y, _address: u64, _context: Option<&NoContext>, out: &mut T) -> fmt::Result { write!(out, "{}", self) -- cgit v1.1