Files
rust/library
Jacob Pratt 81d5d74813 Rollup merge of #152617 - joboet:fuchsia_sleep_until, r=nia-e
std: implement `sleep_until` for Fuchsia

Tracking issue: rust-lang/rust#113752

Unfortunately Fuchsia's `clock_nanosleep` is [only a stub](https://cs.opensource.google/fuchsia/fuchsia/+/main:zircon/third_party/ulib/musl/src/time/clock_nanosleep.c;l=4;drc=26e68e7948a6cc4a1c4a0c8eb19b7e4a2dc27153). 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, our uses of `zx_time_t` use the `zx_instant_mono_t` alias nowadays and the syscall table in the `sleep_until` documentation didn't mark the function names as code.

@rustbot ping fuchsia
2026-08-20 21:34:20 -04:00
..
2026-08-19 09:27:40 -07:00
2026-08-19 09:27:38 -07:00
2026-08-19 09:27:38 -07:00
2026-08-19 09:27:38 -07:00
…
2026-08-19 09:27:38 -07:00
2026-08-17 02:50:54 +00:00