docs: describe synchronous precise read results and compatibility

This commit is contained in:
2026-10-24 02:17:02 +08:00
parent 1aecc7e952
commit f3e1670c58
4 changed files with 8 additions and 0 deletions
+2
View File
@@ -23,3 +23,5 @@ core 不访问对象私有字段或 Heap;执行器只通过受校验的对象
独立托管调用帧:frame.rs 定义 CoroutineProgress 和私有可追踪帧载荷;eval.rs 提供 new_coroutine/resume_coroutine/cancel_coroutine,暂停帧以托管边保活,恢复时转回执行根。与跨量子只读续算分开,所有权及边界见 docs/runtime/bytecode.md。
eval.rs的LoadGlobal及可恢复只读结果支持ReadDependency;frame.rs携带精确观察,lib.rs重导出只读观察类型,兼容旧reads对象列表。
同步call_read_only_precise_with_limits同样返回ReadSet,供宿主精确校验缓存;原call_read_only_with_limits继续返回保守objects列表,预算、结果拥有式引用和失败关闭只读作用域的语义不变。