I recently uploaded version 1.6.0 of the cntr crate to Debian, and it failed to build on 32-bit architectures.
error[E0308]: mismatched types
--> src/fs.rs:382:29
|
380 | ReplyDirectory::Directory(ref mut r) => r.add(
| --- arguments to this method are incorrect
381 | entry.d_ino,
382 | dirp.offset,
| ^^^^^^^^^^^ expected `i64`, found `i32`
|
note: method defined here
--> /usr/share/cargo/registry/cntr-fuse-0.4.2/src/reply.rs:646:12
|
646 | pub fn add<T: AsRef<OsStr>>(&mut self, ino: u64, offset: i64, kind: FileType, name: T) -> bool {
| ^^^
I recently uploaded version 1.6.0 of the cntr crate to Debian, and it failed to build on 32-bit architectures.
To fix this I added the path at https://salsa.debian.org/rust-team/debcargo-conf/-/blob/master/src/cntr/debian/patches/fix-build-32-bit.patch