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

lexical-core >=0.7.5 required to build on Alpine Linux #68

Closed
craftyguy opened this issue Oct 4, 2021 · 2 comments
Closed

lexical-core >=0.7.5 required to build on Alpine Linux #68

craftyguy opened this issue Oct 4, 2021 · 2 comments

Comments

@craftyguy
Copy link
Contributor

I'm running into the issue described here when trying to build display-switch on Alpine: Alexhuszagh/rust-lexical#55

error[E0277]: cannot subtract `usize` from `u32`
    --> /home/clayton/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:2065:25
     |
2065 |     let rs = Limb::BITS - s;
     |                         ^ no implementation for `u32 - usize`

The fix for this is apparently in lexical-core 0.7.5, tested locally and was able to build display-switch after setting lexical-core to 0.7.5 in Cargo.lock. Could you bump the version used in this project?

@craftyguy
Copy link
Contributor Author

ah I see that was done here: #66

So, any chance of getting a new tagged release with that in it? 😄

algitbot pushed a commit to alpinelinux/aports that referenced this issue Oct 8, 2021
Building git version since this isn't in a release yet:
haimgel/display-switch#68
@haimgel
Copy link
Owner

haimgel commented Oct 18, 2021

Thanks for the reminder! Done.

@haimgel haimgel closed this as completed Oct 18, 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

No branches or pull requests

2 participants