about summary refs log tree commit diff
path: root/src/rt/rust_uv.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-09-06 11:16:12 -0700
committerbors <bors@rust-lang.org>2013-09-06 11:16:12 -0700
commit28d042e198d700287f0b946b13dab3b99e0ed962 (patch)
treeceec36b952fe9b00f2c77c71e2f15fe8d058bafe /src/rt/rust_uv.cpp
parentd39cec65b025ad4c6de50e778ffd1177279b5b3d (diff)
parentb4c36c2d1b8079cdb14bd3bf85c1ffc43f1f1d15 (diff)
downloadrust-28d042e198d700287f0b946b13dab3b99e0ed962.tar.gz
rust-28d042e198d700287f0b946b13dab3b99e0ed962.zip
auto merge of #8994 : alexcrichton/rust/upgrade-libuv, r=brson
This is a reopening of the libuv-upgrade part of #8645. Hopefully this won't
cause random segfaults all over the place. The windows regression in testing
should also be fixed (it shouldn't build the whole compiler twice).

A notable difference from before is that gyp is now a git submodule instead of
always git-cloned at make time. This allows bundling for releases more easily.

Closes #8850
Diffstat (limited to 'src/rt/rust_uv.cpp')
-rw-r--r--src/rt/rust_uv.cpp11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/rt/rust_uv.cpp b/src/rt/rust_uv.cpp
index ac5ea4bb3b3..bfdf0e67a9b 100644
--- a/src/rt/rust_uv.cpp
+++ b/src/rt/rust_uv.cpp
@@ -329,20 +329,13 @@ rust_uv_get_len_from_buf(uv_buf_t buf) {
     return buf.len;
 }
 
-extern "C" uv_err_t
-rust_uv_last_error(uv_loop_t* loop) {
-    return uv_last_error(loop);
-}
-
 extern "C" const char*
-rust_uv_strerror(uv_err_t* err_ptr) {
-    uv_err_t err = *err_ptr;
+rust_uv_strerror(int err) {
     return uv_strerror(err);
 }
 
 extern "C" const char*
-rust_uv_err_name(uv_err_t* err_ptr) {
-    uv_err_t err = *err_ptr;
+rust_uv_err_name(int err) {
     return uv_err_name(err);
 }