Files
root 42ca57abfd feat: 足迹 Footprints 个人留痕系统
桌面应用(Tauri+React+SQLite):时间线/记录/学年学科成绩梯度/统计/类型与字段模板/附件内容寻址/详情视图/PWA

同步服务端(sync-server):多用户+邀请码/LWW推拉/seq游标/附件去重/Docker部署

多端同步地基:uuid v7/HLC混合逻辑时钟/软删除墓碑/sync_oplog,Node与Rust双端一致并通过自动化测试
2026-10-16 13:53:15 +08:00

21 lines
718 B
PowerShell
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 安装 Rust 工具链(MSVC 目标)
# 前置:VS Build Tools 已安装(本机已具备 17.14 + VC.Tools.x86.x64)
$ErrorActionPreference = 'Stop'
if (Get-Command cargo -ErrorAction SilentlyContinue) {
Write-Host "cargo 已安装:$(cargo --version)"
exit 0
}
Write-Host '下载 rustup-init ...'
$exe = Join-Path $env:TEMP 'rustup-init.exe'
Invoke-WebRequest -Uri 'https://win.rustup.rs/x86_64' -OutFile $exe
Write-Host '安装 Rust(stable-msvc,用户目录,不改系统设置)...'
& $exe -y --default-toolchain stable-msvc
$env:PATH = "$env:USERPROFILE\.cargo\bin;$env:PATH"
cargo --version
rustc --version
Write-Host '完成。新开的终端将自动使用 %USERPROFILE%\.cargo\bin。'