mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-07 16:57:20 +00:00
fix hurd build
Closes: #1093125 Signed-off-by: Fabian Grünbichler <git@fabian.gruenbichler.email>
This commit is contained in:
parent
d334731673
commit
bcf51a13c6
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@ -46,3 +46,4 @@ vendor/blake3-skip-embedded-C-code-use-pure-implementation.patch
|
||||
build/ci_rustc-disable-test-that-requires-upstream-git-repo.patch
|
||||
build/bootstrap-don-t-attempt-to-download-rustc-in-tests.patch
|
||||
behaviour/proc-macro-srv-make-usage-of-RTLD_DEEPBIND-portable.patch
|
||||
upstream/fix-hurd-build-stat64.st_fsid-was-renamed-to-st_dev.patch
|
||||
|
22
debian/patches/upstream/fix-hurd-build-stat64.st_fsid-was-renamed-to-st_dev.patch
vendored
Normal file
22
debian/patches/upstream/fix-hurd-build-stat64.st_fsid-was-renamed-to-st_dev.patch
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
From: Steve Lau <stevelauc@outlook.com>
|
||||
Date: Sat, 30 Nov 2024 19:04:58 +0800
|
||||
Subject: fix: hurd build, stat64.st_fsid was renamed to st_dev
|
||||
|
||||
Forwarded: https://github.com/rust-lang/rust/pull/133515
|
||||
---
|
||||
library/std/src/os/hurd/fs.rs | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/library/std/src/os/hurd/fs.rs b/library/std/src/os/hurd/fs.rs
|
||||
index 00ff156..e3087fa 100644
|
||||
--- a/library/std/src/os/hurd/fs.rs
|
||||
+++ b/library/std/src/os/hurd/fs.rs
|
||||
@@ -298,7 +298,7 @@ pub trait MetadataExt {
|
||||
#[stable(feature = "metadata_ext", since = "1.1.0")]
|
||||
impl MetadataExt for Metadata {
|
||||
fn st_dev(&self) -> u64 {
|
||||
- self.as_inner().as_inner().st_fsid as u64
|
||||
+ self.as_inner().as_inner().st_dev as u64
|
||||
}
|
||||
fn st_ino(&self) -> u64 {
|
||||
self.as_inner().as_inner().st_ino as u64
|
Loading…
Reference in New Issue
Block a user