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

Build issues since v0.13 on arm #41

Closed
svenstaro opened this issue Jul 3, 2024 · 4 comments
Closed

Build issues since v0.13 on arm #41

svenstaro opened this issue Jul 3, 2024 · 4 comments

Comments

@svenstaro
Copy link

svenstaro commented Jul 3, 2024

On rust 1.80 arm-unknown-linux I get this failure since 0.13:

 error[E0277]: the trait bound `i32: From<u32>` is not satisfied
  --> /cargo/registry/src/index.crates.io-6f17d22bba15001f/if-addrs-0.13.0/src/posix_not_mac.rs:75:50
   |
75 |                 tv_usec: timeout.subsec_micros().into(),
   |                                                  ^^^^ the trait `From<u32>` is not implemented for `i32`, which is required by `u32: Into<_>`
   |
   = help: the following other types implement trait `From<T>`:
             <i32 as From<bool>>
             <i32 as From<i16>>
             <i32 as From<i8>>
             <i32 as From<u16>>
             <i32 as From<u8>>
   = note: required for `u32` to implement `Into<i32>`
@svenstaro
Copy link
Author

@wez
Copy link

wez commented Jul 13, 2024

Also experiencing this, had to revert.
wez/govee2mqtt@841426d

@JanKoudijs
Copy link

Looks like this got fixed by #40, but it did not make it into a release yet.
Referring directly to the commit hash fixed the build for me.
Guess we have to wait.

@messense
Copy link
Owner

Fix released in v0.13.1.

wez added a commit to wez/govee2mqtt that referenced this issue Jul 21, 2024
Previously, the build would fail on arm, this should now be
resolved.

refs: messense/if-addrs#41
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

4 participants