From e2001ebe6ce6f1c5f3843feac772adf999dae873 Mon Sep 17 00:00:00 2001 From: Henry Date: Sat, 4 Apr 2026 20:42:15 +0200 Subject: chore: add ParserOptions Signed-off-by: Henry --- crates/types/src/instructions.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'crates/types') diff --git a/crates/types/src/instructions.rs b/crates/types/src/instructions.rs index efb7172..d013734 100644 --- a/crates/types/src/instructions.rs +++ b/crates/types/src/instructions.rs @@ -255,3 +255,13 @@ pub enum Instruction { I16x8RelaxedDotI8x16I7x16S, I32x4RelaxedDotI8x16I7x16AddS } + +#[cfg(test)] +mod tests { + use super::Instruction; + + #[test] + fn instruction_layout_size_is_stable() { + assert_eq!(core::mem::size_of::(), 16); + } +} -- cgit v1.3.1