diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-12-01 08:15:22 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-01 08:15:22 +0100 |
| commit | ec7caabe9774a056cb21cd47b4489aed7a9c3659 (patch) | |
| tree | 36fd76a08f377ee6fa7f62f8866971fe313348a8 /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | 20af87858889b55c4533419f6722b630e255054d (diff) | |
| parent | 43ae473520078e2f006a563b8dbba70c79539f6f (diff) | |
| download | rust-ec7caabe9774a056cb21cd47b4489aed7a9c3659.tar.gz rust-ec7caabe9774a056cb21cd47b4489aed7a9c3659.zip | |
Rollup merge of #133515 - SteveLauC:fix/hurd, r=ChrisDenton
fix: hurd build, stat64.st_fsid was renamed to st_dev
On hurd, `stat64.st_fsid` was renamed to `st_dev` in https://github.com/rust-lang/libc/pull/3785, so if you have a new libc with this patch included, and you build std from source, you get this error:
```sh
error[E0609]: no field `st_fsid` on type `&stat64`
--> /home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/hurd/fs.rs:301:36
|
301 | self.as_inner().as_inner().st_fsid as u64
| ^^^^^^^ unknown field
|
help: a field with a similar name exists
|
301 | self.as_inner().as_inner().st_uid as u64
| ~~~~~~
```
Full CI log: https://github.com/nix-rust/nix/actions/runs/12033180710/job/33546728266?pr=2544
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
