评审中
最新 v20 · 更新于 2026-08-24
Rust 新增 Ownable 所有权抽象
提交者:Andreas Hindborg · 首次出现 2026-08-24
为内核 Rust 引入 Ownable trait 和 Owned 类型,支持自定义分配/销毁的 C 类型,并添加 OwnableRefCounted 以在 ARef 和 Owned 间转换。
为内核 Rust 引入 Ownable trait 和 Owned 类型,支持自定义分配/销毁的 C 类型,并添加 OwnableRefCounted 以在 ARef 和 Owned 间转换。