Skip to content

Commit 991e0fc

Browse files
committed
set libclang path on windows
see rust-lang/rust-bindgen#1797
1 parent dc19508 commit 991e0fc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/rust.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ jobs:
1919
- os: macos-latest
2020
- os: windows-latest
2121
steps:
22+
- name: Set LIBCLANG_PATH
23+
run: echo "LIBCLANG_PATH=$((gcm clang).source -replace "clang.exe")" >> $env:GITHUB_ENV
24+
if: matrix.os == "windows-latest"
2225
- uses: actions/checkout@v2
2326
with:
2427
submodules: recursive

0 commit comments

Comments
 (0)