mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-25 03:01:12 +08:00
refactor: 删 VmHost 旧内核访问器与 runtime_api 对 kernel 依赖
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
//! 实现 `VmHost`。这打破了 builtins crate 与 `oxide_vm` 之间本会形成的
|
||||
//! 循环依赖:
|
||||
//!
|
||||
//! `oxide_types ← oxide_kernel ← oxide_runtime_api ← oxide_builtins ← oxide_vm`
|
||||
//! `oxide_types ← oxide_runtime_api ← oxide_builtins ← oxide_vm`
|
||||
//!
|
||||
//! trait 面向泛型而非对象安全:单态化 `H = Vm` 使每个 `host.*()` 调用内联,
|
||||
//! 相对 builtins 直接位于 `oxide_vm` 内部没有运行时开销。
|
||||
|
||||
Reference in New Issue
Block a user