From 4064a40a4635cf08455a6fd10f8d7d04a417eb78 Mon Sep 17 00:00:00 2001 From: iximeow Date: Sat, 16 May 2026 09:15:44 +0000 Subject: behavior feature, also shrink 40kb from behavior additions --- src/long_mode/mod.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/long_mode/mod.rs') diff --git a/src/long_mode/mod.rs b/src/long_mode/mod.rs index 04e486a..d333a50 100644 --- a/src/long_mode/mod.rs +++ b/src/long_mode/mod.rs @@ -3,6 +3,7 @@ mod evex; #[cfg(feature = "fmt")] mod display; pub mod uarch; +#[cfg(feature = "behavior")] pub mod behavior; pub use crate::MemoryAccessSize; @@ -1096,6 +1097,7 @@ const XSAVE: [Opcode; 10] = [ /// an `x86_64` opcode. there sure are a lot of these. #[allow(non_camel_case_types)] #[derive(Copy, Clone, Debug, Eq, PartialEq)] +#[cfg_attr(feature = "_debug_internal_asserts", derive(strum::EnumCount))] #[non_exhaustive] #[repr(u32)] pub enum Opcode { -- cgit v1.1