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 breaks on armv7: mismatched types #2

Closed
yurivict opened this issue Jan 13, 2024 · 2 comments
Closed

Build breaks on armv7: mismatched types #2

yurivict opened this issue Jan 13, 2024 · 2 comments

Comments

@yurivict
Copy link

error[E0308]: mismatched types
   --> /wrkdirs/usr/ports/sysutils/procs/work/procs-0.14.4/cargo-crates/bsd-kvm-0.1.3/src/lib.rs:344:19
    |
344 |             size: x.ki_size,
    |                   ^^^^^^^^^ expected `u64`, found `u32`

error[E0308]: mismatched types
   --> /wrkdirs/usr/ports/sysutils/procs/work/procs-0.14.4/cargo-crates/bsd-kvm-0.1.3/src/lib.rs:345:21
    |
345 |             rssize: x.ki_rssize,
    |                     ^^^^^^^^^^^ expected `i64`, found `i32`

error[E0308]: mismatched types
   --> /wrkdirs/usr/ports/sysutils/procs/work/procs-0.14.4/cargo-crates/bsd-kvm-0.1.3/src/lib.rs:346:20
    |
346 |             swrss: x.ki_swrss,
    |                    ^^^^^^^^^^ expected `i64`, found `i32`

Here is the log.

dalance added a commit that referenced this issue Jan 16, 2024
@dalance
Copy link
Owner

dalance commented Jan 16, 2024

I've released v0.1.4.
Could you try it?

@yurivict
Copy link
Author

Thanks for fixing it.

I've updated the FreeBSD port sysutils/procs, that was failing, to the latest revision that already contains 0.1.4 and will re-open this issue if there would still be failures on 32-bit architectures.

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