refactor: 拆分 Kernel 中可变 Session 与不可变 Core

This commit is contained in:
2026-06-14 12:58:09 +08:00
parent 1730236eb1
commit 246ad72540
63 changed files with 666 additions and 615 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ fn eval(vm: &mut Vm, source: &str) -> Result<oxide_types::value::JsValue, String
}
fn str_val(vm: &Vm, val: oxide_types::value::JsValue) -> String {
vm.kernel().string_forge().lookup(val.as_string_index()).unwrap_or_default()
vm.kernel_core().string_forge().lookup(val.as_string_index()).unwrap_or_default()
}
// -- static methods --