Skip to content

Commit

Permalink
fix: Add BINDGEN_EXTRA_CLANG_ARGS to cross compile rocksdb
Browse files Browse the repository at this point in the history
  • Loading branch information
chubei committed Sep 25, 2023
1 parent 2532585 commit 5abeeda
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@ jobs:
echo 'JEMALLOC_SYS_WITH_LG_PAGE=16' >> $GITHUB_ENV
- name: Cargo build
uses: actions-rs/cargo@v1
env:
BINDGEN_EXTRA_CLANG_ARGS: '--sysroot /usr/aarch64-linux-gnu/include/' # https://github.com/rust-lang/rust-bindgen/issues/1229
with:
command: build
use-cross: false
Expand Down

0 comments on commit 5abeeda

Please sign in to comment.