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

v2.1.0 breaks no_std support #74

Closed
CryZe opened this issue Feb 5, 2021 · 1 comment
Closed

v2.1.0 breaks no_std support #74

CryZe opened this issue Feb 5, 2021 · 1 comment

Comments

@CryZe
Copy link

CryZe commented Feb 5, 2021

https://github.com/LiveSplit/livesplit-core/runs/1835592754#step:6:188

error[E0433]: failed to resolve: use of undeclared crate or module `std`
   --> /home/runner/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/ordered-float-2.1.0/src/lib.rs:349:26
    |
349 |     fn classify(self) -> std::num::FpCategory { self.0.classify() }
    |                          ^^^ use of undeclared crate or module `std`

error[E0407]: method `mul_add` is not a member of trait `Float`
   --> /home/runner/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/ordered-float-2.1.0/src/lib.rs:359:5
    |
359 |     fn mul_add(self, a: Self, b: Self) -> Self { OrderedFloat(self.0.mul_add(a.0, b.0)) }
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `Float`

....
@mbrubeck
Copy link
Collaborator

mbrubeck commented Feb 5, 2021

Oops. Very sorry about this. This is now fixed in version 2.1.1 by 6f96e4c. CC #73.

I'll make sure to get continuous integration in place before the next release, so I can't forget to test every configuration.

@mbrubeck mbrubeck closed this as completed Feb 5, 2021
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

Successfully merging a pull request may close this issue.

2 participants