Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
jbourassa committed Jan 10, 2025
1 parent 0ed35c4 commit 7c24e10
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions setup-ruby-and-rust/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -350,19 +350,18 @@ runs:
fi
libclang_path="$msys_root/opt/llvm-15/bin"
tmp_dir=$(expander "%TMP%")
mkdir $tmp_dir\extra-includes
extra_includes=$msys_root/opt/extra-includes
echo "::info::Debug"
echo $tmp_dir
ls $tmp_dir\extra-includes
echo $extra_includes
ls $extra_includes
curl https://raw.githubusercontent.com/llvm/llvm-project/refs/heads/main/clang/lib/Headers/stdckdint.h > %TEMP%\extra-includes\stdckdint.h
curl https://raw.githubusercontent.com/llvm/llvm-project/refs/heads/main/clang/lib/Headers/stdckdint.h > $extra_includes
# ls 'C:\Program Files\LLVM\lib\clang\18\include'
# cp 'C:\Program Files\LLVM\lib\clang\18\include\stdchkint.h' %TEMP%\extra-includes
bindgen_extra_clang_args="--target=${{ steps.derive-toolchain.outputs.toolchain }} --sysroot=$msys_root -I$tmp_dir\extra-includes"
bindgen_extra_clang_args="--target=${{ steps.derive-toolchain.outputs.toolchain }} --sysroot=$msys_root -I$extra_includes"
echo "::info::List clang include dir"
echo "int main() { return 0; }" > foo.c && clang foo.c -v
Expand Down

0 comments on commit 7c24e10

Please sign in to comment.