Skip to content

[AIX] Sync compiler and std with libc changes#156991

Open
amy-kwan wants to merge 1 commit into
rust-lang:mainfrom
amy-kwan:amy-kwan/aix-libc-changes
Open

[AIX] Sync compiler and std with libc changes#156991
amy-kwan wants to merge 1 commit into
rust-lang:mainfrom
amy-kwan:amy-kwan/aix-libc-changes

Conversation

@amy-kwan
Copy link
Copy Markdown
Contributor

This patch updates the compiler and std code to match recent libc updates affecting AIX targets. In particular:

  • Fix libc::loadquery to use *mut c_void instead of *mut u8, which is aligned with the expected FFI signature.
  • Replace st_*time stat fields with the newer st_atim, st_mtim, st_ctim fields across AIX-specific filesystem code.

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels May 26, 2026
@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented May 26, 2026

r? @Mark-Simulacrum

rustbot has assigned @Mark-Simulacrum.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: @ChrisDenton, libs
  • @ChrisDenton, libs expanded to 8 candidates

This patch updates the compiler and std code to match recent libc updates
affecting AIX targets. In particular:

- Fix `libc::loadquery` to use `*mut c_void` instead of `*mut u8`,
  which is aligned with the expected FFI signature.
- Replace `st_*time` stat fields with the newer `st_atim`, `st_mtim`, `st_ctim`
  fields across AIX-specific filesystem code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants