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

Upgrade native process bindings and implement native TCP I/O #11159

Merged
merged 2 commits into from Dec 28, 2013

Conversation

alexcrichton
Copy link
Member

The old rtio-processes run-pass test is now moved into libstd's io::process module, and all process and TCP tests are now run with iotest! (both a native and a green version are tested).

All TCP networking on windows is provided by ws2_32 which is apparently very similar to unix networking (hurray!).

Move the tests into libstd, use the `iotest!` macro to test both native and uv
bindings, and use the cloexec trick to figure out when the child process fails
in exec.
bors added a commit that referenced this pull request Dec 28, 2013
The old `rtio-processes` run-pass test is now moved into libstd's `io::process` module, and all process and TCP tests are now run with `iotest!` (both a native and a green version are tested).

All TCP networking on windows is provided by `ws2_32` which is apparently very similar to unix networking (hurray!).
@bors bors closed this Dec 28, 2013
@bors bors merged commit 2a4f9d6 into rust-lang:master Dec 28, 2013
@alexcrichton alexcrichton deleted the native-io branch December 29, 2013 23:06
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.

None yet

2 participants