Skip to content

nix dependency fails to compile for AIX targets #15083

Description

@xtqqczze

nix does not build successfully for AIX targets with libc 0.2.190, but does with libc 0.2.189.

error[E0308]: mismatched types
   --> ~/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/nix-0.31.3/src/sys/statvfs.rs:109:9
    |
108 |     pub fn filesystem_id(&self) -> c_ulong {
    |                                    ------- expected `u64` because of return type
109 |         self.0.f_fsid
    |         ^^^^^^^^^^^^^ expected `u64`, found `fsid_t`

failure first occurs with rust-lang/libc@061f61b from rust-lang/libc#5380

Activity

  1. changed the title [-]nix dependency fails to build for AIX targets[/-] [+]nix dependency fails to compile for AIX targets[/+] on Oct 5, 2026
  2. xtqqczze commented on Oct 6, 2026

    @xtqqczze
    CollaboratorAuthor

    libc 0.2.190 is required for #5210, so I think we may have to accept the breakage given powerpc64-ibm-aix is only a Rust Tier 3 target.

  3. xtqqczze commented on Oct 7, 2026

    @xtqqczze
    CollaboratorAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions