[Virtio-fs] [virtiofsd-rs] Issue closed: Build fails on aarch64

virtiofs-bot at sinrega.org virtiofs-bot at sinrega.org
Wed May 26 15:16:05 UTC 2021


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.

```
---
https://gitlab.com/virtio-fs/virtiofsd-rs/-/issues/13




More information about the Virtio-fs mailing list