Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Bump mio #5763

Merged
merged 3 commits into from
Jun 5, 2017
Merged

Bump mio #5763

merged 3 commits into from
Jun 5, 2017

Conversation

arkpar
Copy link
Collaborator

@arkpar arkpar commented Jun 5, 2017

Fixes crashes on windows

@arkpar arkpar added A0-pleasereview 🤓 Pull request needs code review. B0-patch M4-core ⛓ Core client code / Rust. labels Jun 5, 2017
@@ -54,6 +54,9 @@
//! }
//! ```

//TODO: use Poll from mio
#![allow(deprecated)]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how about limit this allowance to deprecated mio imports only?
this todo might live for ages there

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a way to do that? Setting an attribute on extern crate mio does not work.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you have to mark every use::mio::<DeprecatedItem> with this #[allow(deprecated)] I believe

but let me double-check

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, this doesn't work, it supresses only use itself and still warns when actually used
Disregard this remark, then

@NikVolf NikVolf added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Jun 5, 2017
@arkpar arkpar merged commit ad6ea4f into master Jun 5, 2017
@arkpar arkpar deleted the miotest branch June 5, 2017 18:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A8-looksgood 🦄 Pull request is reviewed well. M4-core ⛓ Core client code / Rust.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants