feat(runtime): add optional pause and resume lifecycle hooks
Intrepid/Prometeu/Runtime/pipeline/pr-master Build started...
Intrepid/Prometeu/Runtime/pipeline/pr-master Build started...
This commit is contained in:
@@ -64,8 +64,18 @@ fn executed_closure_quota_refusal_reaches_wire_with_machine_fields() {
|
||||
RegistryDeclarations {
|
||||
types: vec![TypeDecl { name: None, kind: TypeKind::Fn(Default::default()) }],
|
||||
functions: vec![
|
||||
FunctionDecl { code_len: end, max_stack_slots: 1, ..Default::default() },
|
||||
FunctionDecl { code_offset: end, code_len: 2, ..Default::default() },
|
||||
FunctionDecl {
|
||||
lifecycle_role: Default::default(),
|
||||
code_len: end,
|
||||
max_stack_slots: 1,
|
||||
..Default::default()
|
||||
},
|
||||
FunctionDecl {
|
||||
lifecycle_role: Default::default(),
|
||||
code_offset: end,
|
||||
code_len: 2,
|
||||
..Default::default()
|
||||
},
|
||||
],
|
||||
implementations: vec![],
|
||||
},
|
||||
|
||||
@@ -501,6 +501,7 @@ mod tests {
|
||||
let module = TestProgram {
|
||||
const_pool: vec![],
|
||||
functions: vec![FunctionDecl {
|
||||
lifecycle_role: Default::default(),
|
||||
code_offset: 0,
|
||||
code_len: code.len() as u32,
|
||||
local_slots: 0,
|
||||
|
||||
Reference in New Issue
Block a user