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
no_std support is broken #125
Comments
Thanks for pointing it out! It's supposed to not be broken, if i remember correctly. Can you provide a bit more information to make it easier to reproduce your situation? That would help a lot in figuring out why it stopped working. At least
A minimal example project would be the best, if possible. It doesn't have to do anything meaningful. |
As far as an example project to reproduce, just make a no_std project with palette in Cargo.toml. |
Thanks for the details! I suppose you are using the 2018 edition? Not that I think it makes a difference, but who knows? What you provided should definitely be enough. 👍 I can't say off the top of my head why this wasn't a problem half a year ago. It seems to have been std only for over a year. |
Yes, 2018 edition. |
I tried using this crate in a no_std context and it doesn't work because the inclusion of
num_traits::Float
isn't behind a feature flag, and evidently, the stuff behind thelibm_works
feature flag doesn't "work".The text was updated successfully, but these errors were encountered: