-
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
Macros Won't Build in no_std #40
Comments
Aaaaand I just read your comment multiformats/rust-multibase#25 (comment) |
The macro doesn't need the The problem is due to rust-lang/cargo#7915 where cargo leaks features of compile-time dependencies like proc-macro. The current fix is to use the |
@ia0 yes, I was going to close this with my last comment but figured it might be good for anyone else who comes across the problem. Maybe a quick note in the README for the macro lib to prevent others falling into the same hole? |
Good point. I updated the README and documentation. |
While trying to build with a common
no_std
targetthumbv6m-none-eabi
.Changing
data-encoding-macro-internal
's Cargo.toml to use the the alloc feature allowed for a clean build.data-encoding = { version = "2.3", path = "../..", default-features = false, features = ["alloc"] }
thumbv6m-none-eabi
should probably be added to the CI build list for next time around :)The text was updated successfully, but these errors were encountered: