Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix sysroot flag not passed to C build #21

Merged
merged 2 commits into from
Oct 19, 2020
Merged

Conversation

jiayihu
Copy link
Contributor

@jiayihu jiayihu commented Oct 19, 2020

This fixes the issue in #20 , caused by sysroot passed to bindgen but missed in the cc build. The implementation is basically taken from bindgen too: rust-lang/rust-bindgen#1537

wasm3-sys/build.rs Outdated Show resolved Hide resolved
@Veykril
Copy link
Collaborator

Veykril commented Oct 19, 2020

Awesome, thanks a lot for looking into this! Annotated one small nitpick 😄

Co-authored-by: Lukas Wirth <[email protected]>
@jiayihu
Copy link
Contributor Author

jiayihu commented Oct 19, 2020

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

@Veykril Veykril merged commit f064cbb into wasm3:master Oct 19, 2020
@Veykril
Copy link
Collaborator

Veykril commented Oct 19, 2020

No need to rebase, the GH interface just appends it as a new commit onto the branch 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants