aboutsummaryrefslogtreecommitdiff
path: root/test/long_mode
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2024-06-22 00:25:01 -0700
committeriximeow <me@iximeow.net>2024-06-22 00:25:01 -0700
commit347042c45ced56b37a665a2c4b042b7f7aae8e03 (patch)
tree31bab03cf9bf54bf8d4173a81e487ce8fb62b28a /test/long_mode
parentd16cc79d7b7091f67328a0080634ce6cd4880dbd (diff)
extract reusable display bits into yaxpeax-arch, add a visitor fn to Operand
comes with deleting the body of impl Colorize for Operand, because we can reuse the normal operand formatting code
Diffstat (limited to 'test/long_mode')
-rw-r--r--test/long_mode/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/long_mode/mod.rs b/test/long_mode/mod.rs
index 7742496..96c7c79 100644
--- a/test/long_mode/mod.rs
+++ b/test/long_mode/mod.rs
@@ -79,7 +79,7 @@ fn test_display_under(decoder: &InstDecoder, data: &[u8], expected: &'static str
);
let mut text2 = String::new();
- let mut out = yaxpeax_x86::display::NoColorsSink {
+ let mut out = yaxpeax_arch::display::NoColorsSink {
out: &mut text2,
};
instr.write_to(&mut out).expect("printing succeeds");