rust-lang / rust

Empowering everyone to build reliable and efficient software.
https://www.rust-lang.org
Other
99.18k stars 12.8k forks source link

GNU Hurd compilation failure: no field `st_fsid` on type `&stat64` #133401

Open newpavlov opened 1 week ago

newpavlov commented 1 week ago

Compiling a project for the i686-unknown-hurd-gnu target using rustc 1.85.0-nightly (a47555110 2024-11-22) results in the following compilation error:

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
    |           

We previously had a similar issue (see #123032). Maybe it's worth to add a CI check for this target as was discussed in it?

saethlin commented 1 week ago

Maybe it's worth to add a CI check for this target as was discussed in it?

This was already responded to in the other issue that you linked.