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

Refactor part 4 #124

Merged
merged 20 commits into from
Nov 11, 2020
Merged

Refactor part 4 #124

merged 20 commits into from
Nov 11, 2020

Conversation

Thomasdezeeuw
Copy link
Collaborator

It's easiest to review by commit, those are small self-contained changes.

@Thomasdezeeuw
Copy link
Collaborator Author

Main benefit is add Type::no_inherit on Windows which can remove an additional call to Socket::set_no_inherit.

@Thomasdezeeuw Thomasdezeeuw marked this pull request as ready for review November 9, 2020 16:50
@de-vri-es
Copy link
Contributor

It would be nice to get a resolution on #117 before breaking it again :(

Cargo.toml Outdated Show resolved Hide resolved
Cargo.toml Show resolved Hide resolved
src/sys/windows.rs Show resolved Hide resolved
src/sys/windows.rs Outdated Show resolved Hide resolved
src/sys/unix.rs Outdated Show resolved Hide resolved
src/sys/unix.rs Outdated Show resolved Hide resolved
src/socket.rs Show resolved Hide resolved
Same as Socket::set_nonblocking. Also add test for it.
@Thomasdezeeuw
Copy link
Collaborator Author

@de-vri-es I've address your comments and added some tests (although more will be added in the future).

@de-vri-es
Copy link
Contributor

Looks good. I'd still go with exclude = ["tests"] instead of include = [$everything_else], but that's up to you :)

I'll start on rebasing #117 and implementing the requested changes.

@Thomasdezeeuw Thomasdezeeuw merged commit df8c14d into rust-lang:master Nov 11, 2020
@Thomasdezeeuw Thomasdezeeuw deleted the refactor-p4 branch November 11, 2020 12:49
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