From b7de8016c51f8d48bb3f91eb6d7be191d6b46d55 Mon Sep 17 00:00:00 2001 From: iximeow Date: Sat, 14 Feb 2026 18:33:39 +0000 Subject: type aliases make some of these signatures less egregious.. --- src/lib.rs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index 43ff634..aea4c91 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -131,6 +131,14 @@ extern crate alloc; #[macro_use] mod isa_settings; +// you'd hope that if Arch: yaxpeax_arch::Arch you could write Arch::Address and only mention the +// trait if there were ambiguous definitions of Address on different traits. unfortunately: +// https://github.com/rust-lang/rust/issues/38078 +// +// these should probably go over to yaxpeax_arch 'cause they show up everywhere. +type Address = ::Address; +type Word = ::Word; + pub mod long_mode; pub use long_mode as amd64; pub use long_mode::Arch as x86_64; -- cgit v1.1