-
Notifications
You must be signed in to change notification settings - Fork 118
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
Cross compiling from Linux to Windows doesn't work #196
Comments
You can try commenting out the check in build.rs. |
Commenting out the check gave me this error:
So I've downgraded to
So next I changed the target to
I'm not sure how to continue with that error message... |
We don't support GNU Windows targets, sorry. |
I would like to be able to cross compile mozjs from Linux to Windows, but
cargo build --target x86_64-pc-windows-gnu
fails with this error:This was tried in a minimal project containing only a dependency on
mozjs v0.10.1
. I have a toolchain set up for cross-compiling and didn't have any problems with cross compiling other-sys
libraries.The text was updated successfully, but these errors were encountered: