You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you enable the 'ratio' feature it will pull in num_traits which defines .abs() in the FloatCore trait which will get pulled in.
If you were using the standard library (vast majority of cases), then std::f32 would have already defined .abs()
I suppose since this issue has come up yet again I suppose I could include abs() functions in the crate (copied from somewhere else so I don't muck it up). But don't expect that I'm pretty busy right now. If using ratio feature doesn't work, let me know.
I cannot compile this crate. I am depending on it through https://crates.io/crates/mockall and building using https://bazel.build/ with https://github.com/google/cargo-raze. The commit is dayfine/xlab@9f9bf1e.
The error I see is:
I know this is rust-lang/rust#50145, and I also saw #25. I am not familiar with
no_std
so I am not sure what's the right thing to do, e.g.:num_traits
. Do I wantnum_traits
or not?std
feature? I don't think I've actually been able to do thatCurrently I might need to not using
mockall
and this crate, but I suppose there might be an easy fix that I cannot find.The text was updated successfully, but these errors were encountered: