implement Select & SelectDefault

This commit is contained in:
2026-03-30 18:23:21 +08:00
parent 6567ed4058
commit e82369695c
2 changed files with 172 additions and 2 deletions
+2
View File
@@ -47,6 +47,7 @@ pub struct Runtime {
fuel: usize,
error_contexts: Stack<8192, ErrorFrame>,
arena: Arena<Rootable![GcRoot<'_>]>,
force_mode: ForceMode,
}
impl Runtime {
@@ -81,6 +82,7 @@ impl Runtime {
fuel: Self::DEFAULT_FUEL_AMOUNT,
error_contexts: Stack::new(),
arena,
force_mode: ForceMode::default(),
})
}