-
Notifications
You must be signed in to change notification settings - Fork 27
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
build fails with musl target #14
Comments
Which version of Edit: We don't test against the |
@opensourcegeek According to dtolnay/proc-macro-hack#6 (comment) we need to disable |
@rushmorem Thanks - I've forked the project and disabled default features and it seems to work. |
Thanks for the feedback. I'm reopening since the fix hasn't been applied to this repo yet. Mind submitting a pull request with your changes? |
Now fixed in version 0.0.10. |
When I run
cargo build --target i686-unknown-linux-musl
I get the following errorerror[E0463]: can't find crate for
proc_macro
--> /home/opensourcegeek/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro-hack-0.3.3/src/lib.rs:159:1
|
159 | extern crate proc_macro;
| ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
Seems like proc-macro-hack depends on proc_macro crate - I cannot find it in crates.io, there is only proc-macro2. I'm not sure how the build works fine on gnu target, I'll dig more but thought I'll report here as well.
The text was updated successfully, but these errors were encountered: