You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
std::task::sleep_ms exposes Future<void>, but its shared timer-interest path represents invalid durations as an i32 error result. _interest rejects negative sleeps and deadline overflow with -22. That payload cannot be observed through the void future, so block_on(sleep_ms(-1)) can complete as if the request succeeded.
This should be resolved within the existing error/API style; it is not a proposal for new exception syntax.
Audit status: identified by static source inspection; the scenarios above have not been executed during this audit. This follows up the implementation introduced in draft PR #520.
Activity