📝 docs(planning): 统一 Rust 规划库命名

将 Rust 原生规划库设计口径统一为 flyshot_planning。

同步更新 Windows 和 Linux 产物名以及复制命令示例。
This commit is contained in:
2026-06-27 15:10:06 +08:00
parent 537c6b5320
commit bcbf8017ad
2 changed files with 9 additions and 9 deletions

View File

@@ -36,7 +36,7 @@ C# ICspPlanner RustIcspPlanner
|
C ABI
|
flyshot_native_planning
flyshot_planning
Rust cdylib
```
@@ -132,10 +132,10 @@ src/Flyshot.Native.Planning/
- `NativePlanningLibraryResolver`:按当前操作系统和体系结构解析原生库。
- `NativePlanningException`:携带原生错误码和错误文本。
原生库逻辑名称固定为 `flyshot_native_planning`:
原生库逻辑名称固定为 `flyshot_planning`:
- Windows:`flyshot_native_planning.dll`
- Linux:`libflyshot_native_planning.so`
- Windows:`flyshot_planning.dll`
- Linux:`libflyshot_planning.so`
C# 适配层负责:
@@ -261,7 +261,7 @@ Planning:Backend = Managed | Rust
- Rust 样条、ICSP、FFI 测试,以及 C#/Rust `1e-9` 自动对拍测试。
- `build/Copy-NativePlanningArtifacts.ps1`,用于初始化 Windows MSVC 环境、
构建原生库并复制到测试或发布目录。
- Windows x64 已实际生成并加载 `flyshot_native_planning.dll` 完成规划。
- Windows x64 已实际生成并加载 `flyshot_planning.dll` 完成规划。
当前上线边界保持不变: