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 1818 # install here rather than the VS-bundled LLVM whose clang headers have
1919 # AVX intrinsic bugs. The values are hardcoded literals (no attacker-
2020 # controlled input), so the GITHUB_ENV writes are safe.
21- - name : Install LLVM for bindgen
21+ - name : Install LLVM for bindgen # zizmor: ignore[github-env]
2222 if : inputs.arch != 'arm64'
2323 shell : cmd
2424 run : |
@@ -27,12 +27,12 @@ runs:
2727 echo LIBCLANG_PATH=C:\Program Files\LLVM\bin>> "%GITHUB_ENV%"
2828 # Chocolatey's LLVM package only ships x64 binaries, which an ARM64-native
2929 # cargo process cannot load. Install the official ARM64 build directly.
30- - name : Install LLVM for bindgen (ARM64)
30+ - name : Install LLVM for bindgen (ARM64) # zizmor: ignore[github-env]
3131 if : inputs.arch == 'arm64'
3232 shell : pwsh
3333 run : |
3434 $installer = Join-Path $env:RUNNER_TEMP 'LLVM-21.1.0-woa64.exe'
3535 Invoke-WebRequest 'https://github.com/llvm/llvm-project/releases/download/llvmorg-21.1.0/LLVM-21.1.0-woa64.exe' -OutFile $installer
3636 Start-Process -Wait -FilePath $installer -ArgumentList '/S','/D=C:\Program Files\LLVM'
3737 if (!(Test-Path 'C:\Program Files\LLVM\bin\libclang.dll')) { exit 1 }
38- echo "LIBCLANG_PATH=C:\Program Files\LLVM\bin" >> $env:GITHUB_ENV # zizmor: ignore[environment-file]
38+ echo "LIBCLANG_PATH=C:\Program Files\LLVM\bin" >> $env:GITHUB_ENV
You can’t perform that action at this time.
0 commit comments