mirror of
https://github.com/encounter/lzokay-rs.git
synced 2025-10-20 16:05:47 +00:00
ci: Different LLVM version, c_ulong -> usize
This commit is contained in:
parent
185205c2ae
commit
09c01faf07
2
.github/workflows/build.yaml
vendored
2
.github/workflows/build.yaml
vendored
@ -20,7 +20,7 @@ jobs:
|
|||||||
uses: KyleMayes/install-llvm-action@v2
|
uses: KyleMayes/install-llvm-action@v2
|
||||||
if: matrix.platform == 'windows-latest'
|
if: matrix.platform == 'windows-latest'
|
||||||
with:
|
with:
|
||||||
version: 21.1.2
|
version: 20.1.8
|
||||||
directory: ${{ runner.temp }}/llvm
|
directory: ${{ runner.temp }}/llvm
|
||||||
- name: Set LIBCLANG_PATH
|
- name: Set LIBCLANG_PATH
|
||||||
run: echo "LIBCLANG_PATH=$((gcm clang).source -replace "clang.exe")" >> $env:GITHUB_ENV
|
run: echo "LIBCLANG_PATH=$((gcm clang).source -replace "clang.exe")" >> $env:GITHUB_ENV
|
||||||
|
|||||||
@ -62,7 +62,7 @@ mod bindings {
|
|||||||
pub type c_ushort = u16;
|
pub type c_ushort = u16;
|
||||||
pub type c_uint = u32;
|
pub type c_uint = u32;
|
||||||
pub type c_int = i32;
|
pub type c_int = i32;
|
||||||
pub type c_ulong = u64;
|
pub type c_ulong = usize;
|
||||||
}
|
}
|
||||||
#[cfg(feature = "std")]
|
#[cfg(feature = "std")]
|
||||||
mod types {
|
mod types {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user