Skip to content

Commit

Permalink
What if we only incldue 1 header?
Browse files Browse the repository at this point in the history
  • Loading branch information
jbourassa committed Jan 9, 2025
1 parent 51a8d3e commit 2680923
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion setup-ruby-and-rust/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,10 @@ runs:
fi
libclang_path="$msys_root/opt/llvm-15/bin"
bindgen_extra_clang_args="--target=${{ steps.derive-toolchain.outputs.toolchain }} --sysroot=$msys_root -I'C:\Program Files\LLVM\lib\clang\18\include'"
mkdir %TEMP%\extra-includes
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%TEMP%\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 2680923

Please sign in to comment.