-
Notifications
You must be signed in to change notification settings - Fork 10
Does libffi-sys-rs support Windows? #16
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
Comments
I suppose it's also possible that the use of |
Sorry for the slow response—on vacation until today. I haven't tried libffi-sys on Windows, unfortunately, and I don't know what would be required to make it work. What happens if you remove the "./"? |
@tov I am in the process of setting up both Mac and Windows VMs for my project, so I'll try to mess around with libffy-sys-rs to see what is necessary to make it work. |
Great, do let me know what you discover. Thanks! |
@tov I'm still working towards setting up a proper Windows VM. In the mean time, would it perhaps be an option for this repository to use AppVeyor to run tests on Windows? That way we could at least continuously test windows support. If you need a sample configuration file for a Rust project on AppVeyor, you can refer to the following one: https://gitlab.com/inko-lang/inko/blob/3d15c20e3be137ee3308f6389bd3365c9836e3b8/appveyor.yml |
Okay, thanks for the link! I set it up and it's running for the first time now. |
I've created an experimental msvc build (#29). You can try it out by patching like this:
|
|
I'm currently trying to use libffi, and I would like to support windows. When building libffi-sys on x86_64 windows (either using GNU or MSVC), the output is as follows (full build output: https://ci.appveyor.com/project/YorickPeterse/inko/build/166/job/5p9n02e84nrwu3bu):
The FFI README says the following for Windows (followed by some more notes for Windows):
The build script however doesn't seem to use anything, instead it just does the following:
libffi-sys-rs/build.rs
Lines 67 to 68 in d65c185
As such my question is simple: should I do anything else (or install any other dependencies besides the one mentioned in the README), or does libffi-sys-rs need to make some changes to support Windows?
The text was updated successfully, but these errors were encountered: