diff --git a/docs/superpowers/plans/2026-06-22-rust-icsp-native-implementation.md b/docs/superpowers/plans/2026-06-22-rust-icsp-native-implementation.md index 36e335b..e030808 100644 --- a/docs/superpowers/plans/2026-06-22-rust-icsp-native-implementation.md +++ b/docs/superpowers/plans/2026-06-22-rust-icsp-native-implementation.md @@ -51,7 +51,7 @@ Expected: FAIL,提示 `RustIcspPlanner` 或互操作类型不存在 ```toml [package] -name = "flyshot-native-planning" +name = "flyshot_planning" version = "0.1.0" edition = "2021" @@ -289,7 +289,7 @@ param( ) cargo build --manifest-path native/flyshot-native-planning/Cargo.toml --release -Copy-Item native/flyshot-native-planning/target/release/flyshot_native_planning.dll tests/Flyshot.Core.Tests/bin/$Configuration/net8.0/ -Force +Copy-Item native/flyshot-native-planning/target/release/flyshot_planning.dll tests/Flyshot.Core.Tests/bin/$Configuration/net8.0/ -Force ``` - [x] **Step 4: 重新运行对拍测试** @@ -325,6 +325,6 @@ Expected: PASS ```markdown - Rust 规划器当前仅显式使用,不替换默认 `ICspPlanner` -- Windows 需要 `flyshot_native_planning.dll` -- Linux 需要 `libflyshot_native_planning.so` +- Windows 需要 `flyshot_planning.dll` +- Linux 需要 `libflyshot_planning.so` ``` diff --git a/docs/superpowers/specs/2026-06-22-rust-icsp-native-design.md b/docs/superpowers/specs/2026-06-22-rust-icsp-native-design.md index 8bc0ef2..b2a38ad 100644 --- a/docs/superpowers/specs/2026-06-22-rust-icsp-native-design.md +++ b/docs/superpowers/specs/2026-06-22-rust-icsp-native-design.md @@ -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` 完成规划。 当前上线边界保持不变: