about summary refs log tree commit diff
path: root/src/libstd/rt/io
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2013-08-18 17:11:45 -0700
committerAlex Crichton <alex@alexcrichton.com>2013-08-27 20:46:17 -0700
commited204257a0c6abc8386879bb631471ec17d8a96a (patch)
tree72e84f91fd63865d0443c0a0e9c46fa9d2ffbbbc /src/libstd/rt/io
parent578e68047736167239c52fa1aba0347011ff1bc3 (diff)
downloadrust-ed204257a0c6abc8386879bb631471ec17d8a96a.tar.gz
rust-ed204257a0c6abc8386879bb631471ec17d8a96a.zip
Upgrade libuv to the current master + our patches
There were two main differences with the old libuv and the master version:

1. The uv_last_error function is now gone. The error code returned by each
   function is the "last error" so now a UvError is just a wrapper around a
   c_int.
2. The repo no longer includes a makefile, and the build system has change.
   According to the build directions on joyent/libuv, this now downloads a `gyp`
   program into the `libuv/build` directory and builds using that. This
   shouldn't add any dependences on autotools or anything like that.

Closes #8407
Closes #6567
Closes #6315
Diffstat (limited to 'src/libstd/rt/io')
-rw-r--r--src/libstd/rt/io/net/tcp.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/rt/io/net/tcp.rs b/src/libstd/rt/io/net/tcp.rs
index 9be5540de48..85fb5d08848 100644
--- a/src/libstd/rt/io/net/tcp.rs
+++ b/src/libstd/rt/io/net/tcp.rs
@@ -166,7 +166,7 @@ mod test {
         do run_in_newsched_task {
             let mut called = false;
             do io_error::cond.trap(|e| {
-                assert!(e.kind == ConnectionRefused);
+                assert_eq!(e.kind, ConnectionRefused);
                 called = true;
             }).inside {
                 let addr = SocketAddr { ip: Ipv4Addr(0, 0, 0, 0), port: 1 };