build: 添加构建rust脚本并配置MSVC链接器路径

添加PowerShell和批处理构建脚本
配置Cargo使用Visual Studio的链接器
更新依赖项的构建指纹文件
This commit is contained in:
2026-03-02 16:52:24 +08:00
parent b35e235682
commit 9103da519c
88 changed files with 178 additions and 21 deletions

5
rust/build.bat Normal file
View File

@@ -0,0 +1,5 @@
@echo off
set PATH=%USERPROFILE%\.cargo\bin;%ProgramFiles%\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\bin\Hostx64\x64;%PATH%
cd /d "%~dp0"
cargo build --release
pause