aboutsummaryrefslogtreecommitdiff
path: root/test/test.rs
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2020-02-11 00:22:16 -0800
committeriximeow <me@iximeow.net>2020-02-11 00:22:16 -0800
commitbd9ae00ba84275c9414298d016da21e8106cda36 (patch)
treea671e957288f00459664beaf1b9e13088daafc52 /test/test.rs
parentf08c8bbf9f180283490fc7a4e116e8fa0ffcc681 (diff)
add `RegSpec::name` to get `&'static str` labels for registers
Diffstat (limited to 'test/test.rs')
-rw-r--r--test/test.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test.rs b/test/test.rs
index 5ba8bd9..6bc8972 100644
--- a/test/test.rs
+++ b/test/test.rs
@@ -1,6 +1,8 @@
extern crate yaxpeax_arch;
extern crate yaxpeax_x86;
+mod regspec;
+
use std::fmt::Write;
use yaxpeax_arch::{Decoder, LengthedInstruction};