[0.2] RUST_LIBC_UNSTABLE_LINUX_TIME_BITS64 backports#4280
Merged
tgross35 merged 7 commits intorust-lang:libc-0.2from Feb 22, 2025
Merged
[0.2] RUST_LIBC_UNSTABLE_LINUX_TIME_BITS64 backports#4280tgross35 merged 7 commits intorust-lang:libc-0.2from
RUST_LIBC_UNSTABLE_LINUX_TIME_BITS64 backports#4280tgross35 merged 7 commits intorust-lang:libc-0.2from
Conversation
linux_time_bits64 will be used to match __USE_TIME_BITS64 in the uapi headers. The environment variable RUST_LIBC_UNSTABLE_LINUX_TIME_BITS64 can be used by callers to enable the linux_time_bits64 config. (backport <rust-lang#4148>) (cherry picked from commit 5453fe6)
The actual values may be different on 32bit archs with and without __USE_TIME_BITS64 (backport <rust-lang#4148>) (cherry picked from commit 616d546)
(backport <rust-lang#4148>) (cherry picked from commit 125b4f7)
(backport <rust-lang#4148>) (cherry picked from commit 7413e22)
struct timeval has to be updated at least for glibc with _TIME_BITS=64. (backport <rust-lang#4148>) (cherry picked from commit c201302)
Collaborator
|
@tgross35: no appropriate reviewer found, use |
Collect the linux_time_bits64 in one place. (backport <rust-lang#4242>) (cherry picked from commit 9a861ed)
The _NEW defines are not available in musl and ohos. (backport <rust-lang#4242>) (cherry picked from commit b0e6878)
RUST_LIBC_UNSTABLE_LINUX_TIME_BITS64
RUST_LIBC_UNSTABLE_LINUX_TIME_BITS64RUST_LIBC_UNSTABLE_LINUX_TIME_BITS64 backports
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport the following: