-
Notifications
You must be signed in to change notification settings - Fork 13.2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Fix WASI sleep impl #65617
Fix WASI sleep impl #65617
Conversation
r? @cramertj (rust_highfive has picked a reviewer for you, use r? to override) |
@newpavlov That |
As noticed in rust-lang/rust#65617 (comment), the `clock.identifier` field in `subscription_t` isn't used for anything. It came from CloudABI, where it appears to be a holdover from an earlier API feature which is no longer present.
@bors: r+ rollup |
📌 Commit 1e2b711 has been approved by |
@sunfishcode P.S.: Slightly relevant to introducing changes to the Core API: can you please take a look at #64434? Are there indeed plans to change |
@newpavlov I just submitted WebAssembly/WASI#125 to start the process to remove it :-). And yes, we have just established a versioning scheme. Concerning #64434, yes, there are changes to the |
Fix WASI sleep impl Closes rust-lang#65607 @sunfishcode Is it fine to use 0 for the `identifier` field? What is this field used for?
Fix WASI sleep impl Closes rust-lang#65607 @sunfishcode Is it fine to use 0 for the `identifier` field? What is this field used for?
Rollup of 14 pull requests Successful merges: - #64145 (Target-feature documented as unsafe) - #65007 (Mention keyword closing policy) - #65417 (Add more coherence tests) - #65507 (Fix test style in unused parentheses lint test) - #65591 (Add long error explanation for E0588) - #65617 (Fix WASI sleep impl) - #65656 (Add option to disable keyboard shortcuts in docs) - #65678 (Add long error explanation for E0728) - #65681 (Code cleanups following up on #65576.) - #65686 (refactor and move `maybe_append` ) - #65688 (Add some tests for fixed ICEs) - #65689 (bring back some Debug instances for Miri) - #65695 (self-profiling: Remove module names from some event-ids in codegen backend.) - #65706 (Add missing space in librustdoc) Failed merges: r? @ghost
As noticed in rust-lang/rust#65617 (comment), the `clock.identifier` field in `subscription_t` isn't used for anything. It came from CloudABI, where it appears to be a holdover from an earlier API feature which is no longer present.
Closes #65607
@sunfishcode
Is it fine to use 0 for the
identifier
field? What is this field used for?