Skip to content

build: Make linux_time_bits64 match the upstream definition - #5545

Merged
tgross35 merged 1 commit into
rust-lang:mainfrom
tgross35:linux-time64
Oct 1, 2026
Merged

tgross35 merged 1 commit into
rust-lang:mainfrom
tgross35:linux-time64

Conversation

@tgross35

Copy link
Copy Markdown
Member

__USE_TIME_BITS64 is set on both 32-bit and 64-bit platforms if time_t is 64 bits. Update the usage of linux_time_bits64 to match.

@tgross35 tgross35 added the stable-nominated This PR should be considered for cherry-pick to libc's stable release branch label Sep 21, 2026
@tgross35
tgross35 enabled auto-merge September 21, 2026 01:04
@rustbot

This comment has been minimized.

@rustbot

rustbot commented Oct 1, 2026

Copy link
Copy Markdown
Collaborator

This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

`__USE_TIME_BITS64` is set on both 32-bit and 64-bit platforms if
`time_t` is 64 bits. Update the usage of `linux_time_bits64` to match.
@tgross35
tgross35 added this pull request to the merge queue Oct 1, 2026
Merged via the queue into rust-lang:main with commit b6de484 Oct 1, 2026
60 checks passed
@tgross35
tgross35 deleted the linux-time64 branch October 1, 2026 06:11
tgross35 added a commit to tgross35/rust-libc that referenced this pull request Oct 1, 2026
`__USE_TIME_BITS64` is set on both 32-bit and 64-bit platforms if
`time_t` is 64 bits. Update the usage of `linux_time_bits64` to match.

(backport <rust-lang#5545>)
(cherry picked from commit b6de484)
tgross35 added a commit to tgross35/rust-libc that referenced this pull request Oct 1, 2026
`__USE_TIME_BITS64` is set on both 32-bit and 64-bit platforms if
`time_t` is 64 bits. Update the usage of `linux_time_bits64` to match.

(backport <rust-lang#5545>)
(cherry picked from commit b6de484)
tgross35 added a commit to tgross35/rust-libc that referenced this pull request Oct 1, 2026
`__USE_TIME_BITS64` is set on both 32-bit and 64-bit platforms if
`time_t` is 64 bits. Update the usage of `linux_time_bits64` to match.

(backport <rust-lang#5545>)
(cherry picked from commit b6de484)
tgross35 added a commit to tgross35/rust-libc that referenced this pull request Oct 1, 2026
`__USE_TIME_BITS64` is set on both 32-bit and 64-bit platforms if
`time_t` is 64 bits. Update the usage of `linux_time_bits64` to match.

(backport <rust-lang#5545>)
(cherry picked from commit b6de484)
tgross35 added a commit to tgross35/rust-libc that referenced this pull request Oct 1, 2026
`__USE_TIME_BITS64` is set on both 32-bit and 64-bit platforms if
`time_t` is 64 bits. Update the usage of `linux_time_bits64` to match.

(backport <rust-lang#5545>)
(cherry picked from commit b6de484)
tgross35 added a commit to tgross35/rust-libc that referenced this pull request Oct 1, 2026
`__USE_TIME_BITS64` is set on both 32-bit and 64-bit platforms if
`time_t` is 64 bits. Update the usage of `linux_time_bits64` to match.

(backport <rust-lang#5545>)
(cherry picked from commit b6de484)
@tgross35 tgross35 mentioned this pull request Oct 1, 2026
renovate-bot pushed a commit to renovate-bot/rust-lang-_-libc that referenced this pull request Oct 1, 2026
`__USE_TIME_BITS64` is set on both 32-bit and 64-bit platforms if
`time_t` is 64 bits. Update the usage of `linux_time_bits64` to match.

(backport <rust-lang#5545>)
(cherry picked from commit b6de484)
@tgross35 tgross35 added stable-applied This PR has been cherry-picked to libc's stable release branch and removed stable-nominated This PR should be considered for cherry-pick to libc's stable release branch labels Oct 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stable-applied This PR has been cherry-picked to libc's stable release branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants