Skip to content

feat(android): add timer_[create, delete, getoverrun, gettime, settime]#5108

Open
nickrobinson wants to merge 2 commits into
rust-lang:mainfrom
nickrobinson:main
Open

feat(android): add timer_[create, delete, getoverrun, gettime, settime]#5108
nickrobinson wants to merge 2 commits into
rust-lang:mainfrom
nickrobinson:main

Conversation

@nickrobinson
Copy link
Copy Markdown

Description

Add timer_create, timer_delete, timer_getoverrun, timer_gettime, and timer_settime to the Android extern block. These are standard POSIX per-process timer functions provided by Bionic but missing from the libc crate's Android bindings.

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

Add timer_create, timer_delete, timer_getoverrun, timer_gettime, and
timer_settime to the Android extern block. These are standard POSIX
per-process timer functions provided by Bionic but missing from the
libc crate's Android bindings.
@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented May 18, 2026

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 May 18, 2026
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.

2 participants