Skip to content

android: deprecate file offset types in targets with 64-bit abis#5178

Open
dybucc wants to merge 1 commit into
rust-lang:mainfrom
dybucc:android-time_t
Open

android: deprecate file offset types in targets with 64-bit abis#5178
dybucc wants to merge 1 commit into
rust-lang:mainfrom
dybucc:android-time_t

Conversation

@dybucc

@dybucc dybucc commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Description

This PR deprecates symbols. Affected symbols include LFS64 bindings. Android is the target OS. 64-bit ABI architectures are affected. 32-bit ABI architectures are not.

Android aliases these types. This only applies to 64-bit ABI targets [1.] Anybody using them should be unaffected. A warning should be all they get. 32-bit targets are unchanged.

Sources

Checklist

  • Relevant tests in libc-test/semver have been updated
  • No placeholder or unstable values like *LAST or *MAX are included (see #3131)
  • Tested locally (cd libc-test && cargo test --target mytarget); especially relevant for platforms that may not be checked in CI

@rustbot label +stable-nominated

@rustbot

rustbot commented Jun 18, 2026

Copy link
Copy Markdown
Collaborator

Some changes occurred in an Android module

cc @maurer

@rustbot rustbot added S-waiting-on-review stable-nominated This PR should be considered for cherry-pick to libc's stable release branch labels Jun 18, 2026
@rustbot

This comment has been minimized.

@rustbot

This comment has been minimized.

@dybucc dybucc changed the title refactor: change file offset bitwidths in android android: change file offset bit widths Jun 19, 2026
@rustbot

This comment has been minimized.

@tgross35 tgross35 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you clarify what bit width changed? This appears to be mostly deprecations and a few constants moved around.

View changes since this review

@dybucc dybucc changed the title android: change file offset bit widths android: deprecate file offset types in targets with 64-bit abis Jun 23, 2026
Android had LFS64 bindings. This is not necessary. Targets with 32-bit
ABIs have it upstream. Targets with 64-bit ABIs don't.

This patch deprecates them. This only applies to targets with 64-bit
ABIs.
@rustbot

rustbot commented Jun 23, 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.

@dybucc

dybucc commented Jun 23, 2026

Copy link
Copy Markdown
Contributor Author

None. The PR title was wrong. The commit was also wrong. The description is correct.

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

Labels

S-waiting-on-review stable-nominated This PR should be considered for cherry-pick to libc's stable release branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants