ci: install-llvm-action never updated v2

This commit is contained in:
Luke Street 2025-10-14 10:51:23 -06:00
parent 09c01faf07
commit c1d28b9ab7
2 changed files with 3 additions and 3 deletions

View File

@ -17,10 +17,10 @@ jobs:
runs-on: ${{ matrix.platform }}
steps:
- name: Install LLVM and Clang # required for bindgen to work, see https://github.com/rust-lang/rust-bindgen/issues/1797
uses: KyleMayes/install-llvm-action@v2
uses: KyleMayes/install-llvm-action@v2.0.8
if: matrix.platform == 'windows-latest'
with:
version: 20.1.8
version: 21.1.3
directory: ${{ runner.temp }}/llvm
- name: Set LIBCLANG_PATH
run: echo "LIBCLANG_PATH=$((gcm clang).source -replace "clang.exe")" >> $env:GITHUB_ENV

View File

@ -70,7 +70,7 @@ mod bindings {
pub type c_ushort = ::std::os::raw::c_ushort;
pub type c_uint = ::std::os::raw::c_uint;
pub type c_int = ::std::os::raw::c_int;
pub type c_ulong = ::std::os::raw::c_ulong;
pub type c_ulong = usize;
}
include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
}