-
Notifications
You must be signed in to change notification settings - Fork 284
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
Can't build on Alpine: target aarch64-unknown-linux-musl
does not support these crate types
#823
Comments
Building There is some support by using the [build]
rustflags = ["-C", "target-feature=-crt-static"] After adding that flag, I am able to successfully build and execute a simple Neon module. However, since this is not a fully implemented feature, you may run into other issues. For dockerizing Neon apps, I highly recommend using Thanks for your interest. I'm going to close this issue since it is a limitation of Rust and outside the scope of Neon. |
@kjvalencik currently what's the best distro to use with Docker and build with cross-compiling all tier 1 platforms? |
I believe alpine works these days with cdylib targets. |
Dockerfile
Error
While the local build on my machine works with
npm run build-release --prefix my-app-rust-bindings
The text was updated successfully, but these errors were encountered: