-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Streamer cannot compile using musl #28156
Comments
Hi @motoras, Thanks for your question! We want to make sure to keep signal strong in the GitHub issue tracker – to make sure that it remains the best place to track issues that affect the development of Solana itself. Questions like yours deserve a purpose-built Q&A forum. Unless there exists evidence that this is a bug with Solana itself, please post your question to the Solana Stack Exchange using this link: https://solana.stackexchange.com/questions/ask This automated message is a result of having added the ‘question’ tag. |
Did you manage to solve this? Having the same problem |
No. I just avoided using musl, by using a more recent cargo lambda and compiling for arm. |
@steveluscher would it be possible to support MUSL rust by implementing the change to use .into() ? |
I don't know, but feel free to open an issue here, phrased as a feature request! |
think this is a rust libc issue: rust-lang/libc#2945 . Given their breaking change policy it'll probably take a while before the new versions of libc are release with this fixed. |
Problem
Hi guys,
I was trying to compile solana with musl as target and I got the following error:
I used the cargo command
cargo build --release --target x86_64-unknown-linux-musl
with rustrustc 1.63.0 (4b91a6ea7 2022-08-08)
I needed to compile for musl, as I was planing to use solana from an aws lambda function written in rust(aws rust runtime requires to compile your rust function with musl).The text was updated successfully, but these errors were encountered: