Skip to content

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

@newpavlov

Description

@newpavlov

Compiling a project for the i686-unknown-hurd-gnu target using rustc 1.85.0-nightly (a475551 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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.O-hurdOperating system: GNU/HurdT-libsRelevant to the library team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions