Build fails on aarch64
Building virtiofsd-rs
fails when on aarch64
architecture.
Here is the error:
error[E0308]: mismatched types
--> src/passthrough/stat.rs:80:27
|
80 | st.st_nlink = self.stx_nlink as u64;
| ^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `u64`
error[E0308]: mismatched types
--> src/passthrough/stat.rs:85:29
|
85 | st.st_blksize = self.stx_blksize as i64;
| ^^^^^^^^^^^^^^^^^^^^^^^ expected `i32`, found `i64`
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0308`.
error: could not compile `virtiofsd-rs`
To learn more, run the command again with --verbose.