Skip to content

Commit 027a623

Browse files
committed
fix: hurd build, stat64.st_fsid was renamed to st_dev
1 parent dd2837e commit 027a623

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

library/std/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ miniz_oxide = { version = "0.7.0", optional = true, default-features = false }
3434
addr2line = { version = "0.22.0", optional = true, default-features = false }
3535

3636
[target.'cfg(not(all(windows, target_env = "msvc")))'.dependencies]
37-
libc = { version = "0.2.162", default-features = false, features = [
37+
libc = { version = "0.2.166", default-features = false, features = [
3838
'rustc-dep-of-std',
3939
], public = true }
4040

library/std/src/os/hurd/fs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ pub trait MetadataExt {
298298
#[stable(feature = "metadata_ext", since = "1.1.0")]
299299
impl MetadataExt for Metadata {
300300
fn st_dev(&self) -> u64 {
301-
self.as_inner().as_inner().st_fsid as u64
301+
self.as_inner().as_inner().st_dev as u64
302302
}
303303
fn st_ino(&self) -> u64 {
304304
self.as_inner().as_inner().st_ino as u64

0 commit comments

Comments
 (0)