build: 添加构建rust脚本并配置MSVC链接器路径
添加PowerShell和批处理构建脚本 配置Cargo使用Visual Studio的链接器 更新依赖项的构建指纹文件
This commit is contained in:
5
rust/build.bat
Normal file
5
rust/build.bat
Normal 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
|
||||
Reference in New Issue
Block a user