Skip to content

[AIX] Revert changes to define timespec_tv_nsec_t as 32-bit.#514

Merged
Amanieu merged 2 commits into
Amanieu:masterfrom
amy-kwan:amy-kwan/revert-timespec
Feb 21, 2026
Merged

[AIX] Revert changes to define timespec_tv_nsec_t as 32-bit.#514
Amanieu merged 2 commits into
Amanieu:masterfrom
amy-kwan:amy-kwan/revert-timespec

Conversation

@amy-kwan
Copy link
Copy Markdown
Contributor

Previously, 6bfca36 updated tv_nsec_t to be 32-bit on AIX as recent libc changes to also defined nanoseconds as 32-bit (in attempts to resolve timespec related issues on AIX).

A proper libc resolution to the timespec issues is encapsulated in rust-lang/libc#4931, and thus the original change in parking_lot_core to define tv_nsec_t as 32-bit is no longer needed as nanoseconds remains as c_long.

@Amanieu
Copy link
Copy Markdown
Owner

Amanieu commented Jan 22, 2026

Can you update the minimum required libc version in Cargo.toml as well?

@Amanieu Amanieu merged commit a0a380c into Amanieu:master Feb 21, 2026
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants