vid/bin/v-rustc.cmd

4 lines
126 B
Batchfile

@echo off
where rustc.exe 2>nul >nul
if errorlevel 1 call v-scoop install rust & call %~dp0\v-choco-refreshenv
rustc.exe %*