-
Notifications
You must be signed in to change notification settings - Fork 9
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
neon build --target
#16
Comments
Has there been any progress made on cross-compilation or a manual workaround? Currently looking to build for iOS and Android toolchains from Linux. |
The rust side of this is actually pretty easy and works today. Since Unfortunately, the complexity of cross compiling There is no timeline for N-API. |
http://www.janeasystems.com/blog/support-native-modules-node-js-mobile-apps/ They have a modified node-gyp |
Hello, What is the current status of this feature? |
@ShinySaana It's not being worked on. The legacy backend requires The good news is that the N-API backend does support cross compiling and only uses Try |
As my neon project already used N-API, it was a breeze to migrate to the new backend. I just tested it and it worked wonders. Thank you very much for saving me a lot of headaches ! |
I'm a little confused between the information on the wiki and here. If I create a project today with |
@JRedOW Additional arguments to Cross compiling documentation for Rust applies equally to Neon. (At the end it's just a Rust shared library) |
Thanks! |
@JRedOW if you're looking for an example of cross compilation from macs of a neon project you can check out the Temporal Node.js SDK: https://github.com/temporalio/sdk-node/blob/main/docs/building.md |
We need an RFC for cross-compilation flags. The design should try to mirror the UX of Cargo as much as possible.
The text was updated successfully, but these errors were encountered: