Merge pull request #3724 from youknowone/instr-size

ensure bytecode::Instruction never grows more than 8bytes
This commit is contained in:
Noa authored and GitHub committed 2022-05-25 22:47:37 -05:00
commit 2efe9e2969
3 files changed
+3

No files matched your search

Generated
+1
View File
@@ -1579,6 +1579,7 @@ dependencies = [
"num-bigint",
"num-complex",
"serde",
"static_assertions",
]
[[package]]
+1
View File
@@ -17,3 +17,4 @@ num-complex = { version = "0.4.0", features = ["serde"] }
serde = { version = "1.0.136", features = ["derive"] }
itertools = "0.10.3"
bstr = "0.2.17"
static_assertions = "1.1.0"
+1
View File
@@ -394,6 +394,7 @@ pub enum Instruction {
GetANext,
EndAsyncFor,
}
static_assertions::assert_eq_size!(Instruction, u64);
use self::Instruction::*;