-
Notifications
You must be signed in to change notification settings - Fork 40
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
Better cross compilation support #53
Conversation
Windows GNU builds are failing with the following error:
I'm guessing some compile options may be missing? |
x86_64-pc-windows-gnu test only fails on Rust 1.36.0, kinda odd, I'm not sure why. Here is a related stackoverflow post: https://stackoverflow.com/questions/62804616/cross-compiling-from-linux-windows-stdio-has-undefined-references-to-imp-a |
@messense Past builds/PRs worked just fine though, so this is the result of something that the |
Test passed on Rust 1.48.0. https://github.com/messense/libffi-rs/runs/5441820451?check_suite_focus=true |
rust-lang/rust#67429 might be related, it was released in Rust 1.43.0. |
@messense Thanks! This has been released in libffi-sys 2.0 and libffi-rs 3.0 🎉 |
Originally I want to use autotools-rs, but it doesn't support Rust 1.36.0.
This enables building with cargo-zigbuild: