diff options
Diffstat (limited to 'crates/types/src')
| -rw-r--r-- | crates/types/src/instructions.rs | 10 |
1 files changed, 10 insertions, 0 deletions
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::<Instruction>(), 16); + } +} |
