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

refuses to compile for ![no_std] when build target specified, despite libm and libm-force #1442

Open
rathod-sahaab opened this issue Sep 28, 2024 · 0 comments

Comments

@rathod-sahaab
Copy link

Rust version: 1.81.0

minimum reproducible repo
using no_std to compile for rp2040

for build target thumbv6-none-eabi

I get these errors

Some errors have detailed explanations: E0034, E0308, E0463.
For more information about an error, try `rustc --explain E0034`.
error: could not compile `num-traits` (lib) due to 37 previous errors
Some errors have detailed explanations: E0463, E0599.
For more information about an error, try `rustc --explain E0463`.
error: could not compile `wide` (lib) due to 11 previous errors
/.cargo/registry/src/index.crates.io-6f17d22bba15001f/num-traits-0.2.19/src/ops/euclid.rs:82:17
   |
82 |                 <$t>::rem_euclid(*self, *v)
   |                 ^^^^^^^^^^^^^^^^ -----  -- expected `&f64`, found `f64`
   |                                  |
   |                                  expected `&f64`, found `f64`
...
92 | euclid_forward_impl!(f32 f64);
   | ----------------------------- in this macro invocation
   |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant