summaryrefslogtreecommitdiff
path: root/rust/src/function.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/src/function.rs')
-rw-r--r--rust/src/function.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/rust/src/function.rs b/rust/src/function.rs
index 63ebc82e..f122aeff 100644
--- a/rust/src/function.rs
+++ b/rust/src/function.rs
@@ -139,6 +139,12 @@ impl NativeBlock {
}
}
+impl Default for NativeBlock {
+ fn default() -> Self {
+ NativeBlock::new()
+ }
+}
+
impl BlockContext for NativeBlock {
type Instruction = u64;
type InstructionIndex = u64;