From: Debian Rust Maintainers Date: Wed, 19 Jun 2024 07:48:44 +0200 Subject: u-hurd-gix-index-2 =================================================================== --- vendor/gix-index/src/fs.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/vendor/gix-index/src/fs.rs b/vendor/gix-index/src/fs.rs index 493d4e1..cc89fd5 100644 --- a/vendor/gix-index/src/fs.rs +++ b/vendor/gix-index/src/fs.rs @@ -115,10 +115,14 @@ impl Metadata { /// Return the device id on which the file is located, or 0 on windows. pub fn dev(&self) -> u64 { - #[cfg(not(windows))] + #[cfg(all(not(windows), not(host_os = "hurd")))] { self.0.st_dev as u64 } + #[cfg(host_os = "hurd")] + { + self.0.st_fsid as u64 + } #[cfg(windows)] 0 }