Closed jiayihu closed 3 years ago
Awesome, thanks a lot for looking into this! Annotated one small nitpick 😄
Thanks, TIL 😄 P.S. This is also my first PR in Rust 🎉 I think you'll need to rebase the PR because I accepted the suggestion using GH web interface
No need to rebase, the GH interface just appends it as a new commit onto the branch 👍
This fixes the issue in #20 , caused by
sysroot
passed to bindgen but missed in thecc
build. The implementation is basically taken from bindgen too: https://github.com/rust-lang/rust-bindgen/pull/1537