File tree Expand file tree Collapse file tree
.github/setup-rust-windows Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020 run : |
2121 choco install llvm --allow-downgrade --no-progress --version 21.1.0
2222 if not exist "C:\Program Files\LLVM\bin\libclang.dll" exit /b 1
23- echo LIBCLANG_PATH=C:\Program Files\LLVM\bin>> "%GITHUB_ENV%"
24- echo LLVMInstallDir=C:\Program Files\LLVM>> "%GITHUB_ENV%"
2523 # Chocolatey's LLVM package only ships x64 binaries, which an ARM64-native
2624 # cargo process cannot load. Install the official ARM64 build directly.
2725 - name : Install LLVM for bindgen (ARM64)
3230 Invoke-WebRequest 'https://github.com/llvm/llvm-project/releases/download/llvmorg-21.1.0/LLVM-21.1.0-woa64.exe' -OutFile $installer
3331 Start-Process -Wait -FilePath $installer -ArgumentList '/S','/D=C:\Program Files\LLVM'
3432 if (!(Test-Path 'C:\Program Files\LLVM\bin\libclang.dll')) { exit 1 }
35- echo "LIBCLANG_PATH=C:\Program Files\LLVM\bin" >> $env:GITHUB_ENV
36- echo "LLVMInstallDir=C:\Program Files\LLVM" >> $env:GITHUB_ENV
You can’t perform that action at this time.
0 commit comments