Skip to content

Commit fc668d5

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

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

library/Cargo.lock

+2-2
Original file line numberDiff line numberDiff line change
@@ -158,9 +158,9 @@ dependencies = [
158158

159159
[[package]]
160160
name = "libc"
161-
version = "0.2.162"
161+
version = "0.2.167"
162162
source = "registry+https://github.com/rust-lang/crates.io-index"
163-
checksum = "18d287de67fe55fd7e1581fe933d965a5a9477b38e949cfa9f8574ef01506398"
163+
checksum = "09d6582e104315a817dff97f75133544b2e094ee22447d2acf4a74e189ba06fc"
164164
dependencies = [
165165
"rustc-std-workspace-core",
166166
]

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.167", 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)