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 d179b40
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions setup-ruby-and-rust/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -350,19 +350,19 @@ 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 $extra_includes
mkdir -p $extra_includes
echo "::info::Debug"
echo $tmp_dir
ls $tmp_dir\extra-includes
curl https://raw.githubusercontent.com/llvm/llvm-project/refs/heads/main/clang/lib/Headers/stdckdint.h > $extra_includes/stdckdint.h
curl https://raw.githubusercontent.com/llvm/llvm-project/refs/heads/main/clang/lib/Headers/stdckdint.h > %TEMP%\extra-includes\stdckdint.h
echo "::info::List extra includes"
ls $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 d179b40

Please sign in to comment.