✨ feat(native-planning): 更新 Rust ICSP 原生库及构建脚本
* 将 Rust ICSP 原生库名称更改为 `flyshot_planning`,更新相关引用。 * 修改构建脚本以支持新的库名称,并确保库文件复制到正确的目录。 * 添加对 Rust ICSP 原生库的依赖检查,确保发布时包含必要的库文件。 * 更新测试项目以加载新的原生库,确保兼容性和功能完整性。
This commit is contained in:
@@ -427,6 +427,13 @@ function Install-ObfuscatedAssemblies
|
||||
$_.Name -like 'Flyshot*.pdb'
|
||||
} |
|
||||
Remove-Item -Force
|
||||
|
||||
# Rust ICSP 原生库必须随框架依赖包一起交付,否则 method=icsp_rust 会在运行时加载失败。
|
||||
$nativePlanningLibraryPath = Join-Path $PublishedDirectory 'flyshot_planning.dll'
|
||||
if (-not (Test-Path -LiteralPath $nativePlanningLibraryPath -PathType Leaf))
|
||||
{
|
||||
throw "发布目录缺少 Rust 原生规划库 flyshot_planning.dll:$nativePlanningLibraryPath"
|
||||
}
|
||||
}
|
||||
|
||||
<#
|
||||
|
||||
Reference in New Issue
Block a user