Skip to content
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

num-traits uses std in default enabled features #3

Open
elpiel opened this issue Dec 24, 2024 · 0 comments · May be fixed by #4
Open

num-traits uses std in default enabled features #3

elpiel opened this issue Dec 24, 2024 · 0 comments · May be fixed by #4
Labels
bug Something isn't working

Comments

@elpiel
Copy link
Member

elpiel commented Dec 24, 2024

https://docs.rs/crate/num-traits/latest/features

This creates an issue since I'm using f32 and compilation fails because of missing std:

error[E0463]: can't find crate for `std`
  --> /home/elpiel/.cargo/registry/src/index.crates.io-6f17d22bba15001f/num-traits-0.2.19/src/lib.rs:23:1
   |
23 | extern crate std;
   | ^^^^^^^^^^^^^^^^^ can't find crate
   |
   = note: the `thumbv8m.main-none-eabihf` target may not support the standard library
@elpiel elpiel added the bug Something isn't working label Dec 24, 2024
@elpiel elpiel linked a pull request Dec 25, 2024 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant