-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Won't compile on musl without libstd #684
Comments
I think we just need to put the relevant attributes behind a |
This also might be worth looking at the CI setup to see what platforms were missed during testing in addition to musl. |
Looks like that was diagnosed in #685 |
This is currently blocking something I'm working on, and I'd be happy to work on a fix if I understood what that would look like. If the solution is My error for reference:
|
@Others yes these can all be |
Fixes rust-lang#684. Previously building libc for musl would fail, because we don't want to use #[link(...)] outside a stdbuild. This commit fixes that issue. (Although it may leave other targets broken, I'm not sure.)
Hi @clarcharr ! I am trying to clean-up issues: is this still an issue for you? |
This was fixed in #930 @alexcrichton can you close this? |
See the linked thread at rust-lang/rust#37406.
I tried compiling my
loop-forever
crate on musl to reduce binary size, but it failed to compile due to an error that appears to be a bug; thelink_cfg
feature should never be called outside of the std build.The text was updated successfully, but these errors were encountered: