Skip to content
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

Current scheduler and I/O work #6513

Closed
wants to merge 52 commits into from
Closed

Conversation

brson
Copy link
Contributor

@brson brson commented May 15, 2013

r?

This rolls up my previous, unmerged pull request along with the last week's work. There is a lot of miscellaneous stuff here. Most of the issues that prevented the last pull from merging are resolved, but there is still a somewhat rare deadlock on mac that I'm hoping won't be too obnoxious if this lands. Still investigating.

brson added 30 commits May 13, 2013 14:24
We will just use RAII for now.
This ended up touching a lot of code related to error handling.
Make names that better match rt::io. Return error types.
Put all uv code under rt::uv, as if it were in its own crate.
Pull local_sched out of rt::sched.
…ween Scheduler and Task

Called 'Tube' for lack of anything better.
Conflicts:
	src/libcore/logging.rs
	src/libcore/rt/local_services.rs
	src/libcore/rt/uv/mod.rs
	src/libcore/rt/uv/net.rs
	src/libcore/rt/uv/uvio.rs
	src/libcore/unstable.rs
@brson
Copy link
Contributor Author

brson commented May 15, 2013

It looks like a libuv upgrade will fix the mac deadlocks, so I'm going to close this again and try to ugrade uv.

@brson brson closed this May 15, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Jan 15, 2021
…pe, r=flip1995

Fix: Empty enum never type suggested only if the feature is enabled

This PR addresses [Issue 6422](rust-lang/rust-clippy#6422). Instead of always recommending `never type` for empty enums, Clippy would only recommend [the lint](https://rust-lang.github.io/rust-clippy/master/index.html#empty_enum) if [LatePass.TyCtxt](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/context/struct.TyCtxt.html) has `features().never_type` enabled.

- \[ ] Followed [lint naming conventions][lint_naming]
- \[x] Added passing UI tests (including committed `.stderr` file)
- \[x] `cargo test` passes locally
- \[x] Executed `cargo dev update_lints`
- \[x] Added lint documentation
- \[x] Run `cargo dev fmt`
---

*Please write a short comment explaining your change (or "none" for internal only changes)*
changelog: Only trigger [`empty_enum`] lint if `never_type` feature is enabled.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants