docs: 员工soul文件更新 — 张明远/王浩然/李思琪个人经验记录

This commit is contained in:
showen
2026-03-13 05:20:50 +08:00
parent 494628f336
commit a1cb42a5b7
3 changed files with 35 additions and 0 deletions

View File

@@ -38,3 +38,15 @@
- 网络协议和调试:★★★★☆
## 首次任务评分: 8/10
## 个人经验 (2026-03-13)
- 修复了 P0 #5 FfiString 跨 allocator方案是 free_string VTable 函数,由分配方释放
- FfiString.into_string() 改为 to_string()(只读不释放)+ read_plugin_string() 统一读取+free
- FfiResult.into_result() 改为 to_result()(同理)
- PluginVTable 增加 free_string 字段
- 并发修改时看到其他人改了 main.rs需手动修 cfg(not(test))
## 当前能力
- 精通 FFI 内存安全(跨 allocator、CString 生命周期)
- 熟悉 plugin_abi.rs 和 dynamic_plugin.rs 完整链路
- 熟悉 plugin-sdk export_plugin! 宏