-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make I/O threadsafe #6843
Labels
A-runtime
Area: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflows
Comments
We now having the |
flip1995
pushed a commit
to flip1995/rust
that referenced
this issue
Mar 11, 2021
…ishearth Compare empty blocks for equality based on tokens fixes: rust-lang#1390 This only considers empty blocks for now, though we should also catch something like this: ```rust match 0 { 0 => { do_something(); trace!(0); 0 } 1 => { do_something(); trace!(1); 1 } x => x, } ``` As far as I can tell there aren't any negative effects on other lints. These blocks only happen to be the same for a given compilation, not all compilations. changelog: Fix `match_on_same_arms` and others. Only consider empty blocks equal if the tokens contained are the same.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-runtime
Area: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflows
uv-based I/O is bound to a specific scheduler but tasks are not. This means that when a task goes to perform I/O it needs to check whether it is on the correct scheduler and if not, send itself as a message to the correct scheduler. Types that implement
rtio
traits will need to contain aSchedHandle
to their home scheduler.The text was updated successfully, but these errors were encountered: