Skip to content

std: implement sleep_until for Fuchsia#152617

Open
joboet wants to merge 3 commits intorust-lang:mainfrom
joboet:fuchsia_sleep_until
Open

std: implement sleep_until for Fuchsia#152617
joboet wants to merge 3 commits intorust-lang:mainfrom
joboet:fuchsia_sleep_until

Conversation

@joboet
Copy link
Member

@joboet joboet commented Feb 14, 2026

Tracking issue: #113752

Unfortunately Fuchsia's clock_nanosleep is only a stub. The kernel's zx_nanosleep syscall however does exactly what's needed.

I've done a few drive-by changes in the two outer commits, zx_time_t is now called zx_instant_mono_t and the syscall table in the sleep_until documentation contained a few unnecessary square brackets (and wasn't that nice to look at).

@rustbot ping fuchsia

@joboet joboet marked this pull request as ready for review February 14, 2026 14:10
@rustbot rustbot added O-unix Operating system: Unix-like S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-libs Relevant to the library team, which will review and decide on the PR/issue. O-fuchsia Operating system: Fuchsia labels Feb 14, 2026
@rustbot
Copy link
Collaborator

rustbot commented Feb 14, 2026

Hey friends of Fuchsia! This issue could use some guidance on how this should be
resolved/implemented on Fuchsia. Could one of you weigh in?

cc @erickt @Nashenas88

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Feb 14, 2026
@rustbot rustbot removed the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Feb 14, 2026
@rustbot
Copy link
Collaborator

rustbot commented Feb 14, 2026

r? @ibraheemdev

rustbot has assigned @ibraheemdev.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: @ChrisDenton, libs
  • @ChrisDenton, libs expanded to 8 candidates
  • Random selection from Mark-Simulacrum, ibraheemdev

@rust-bors
Copy link
Contributor

rust-bors bot commented Mar 4, 2026

☔ The latest upstream changes (presumably #153377) made this pull request unmergeable. Please resolve the merge conflicts.

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

Labels

O-fuchsia Operating system: Fuchsia O-unix Operating system: Unix-like S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants