diff options
| author | Henry <mail@henrygressmann.de> | 2026-04-04 20:42:15 +0200 |
|---|---|---|
| committer | Henry <mail@henrygressmann.de> | 2026-04-04 20:42:15 +0200 |
| commit | e2001ebe6ce6f1c5f3843feac772adf999dae873 (patch) | |
| tree | 64676bd36a57c7ca3abccc80a32a7f709a6ebbb6 /crates/types | |
| parent | 9dcfeeddd1aa9deebbf52fc7f84a63713c6e6839 (diff) | |
chore: add ParserOptions
Signed-off-by: Henry <mail@henrygressmann.de>
Diffstat (limited to 'crates/types')
| -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); + } +} |
