summaryrefslogtreecommitdiff
path: root/src/ucontext.rs
diff options
context:
space:
mode:
authorJonas Schievink <jonasschievink@gmail.com>2017-07-20 20:00:00 +0200
committerJonas Schievink <jonasschievink@gmail.com>2017-12-04 20:29:40 +0100
commit512c35121e62062a802dadd787ee3dbda340a624 (patch)
tree3422316250d96771736e1c0b4666f2b57b3d49fc /src/ucontext.rs
parent86ebf7b0eac4cd0d092b816060042c55ca8871c5 (diff)
downloadnix-512c35121e62062a802dadd787ee3dbda340a624.zip
Stop reexporting `Errno` and its variants
cc #664 (unsure if this is everything needed)
Diffstat (limited to 'src/ucontext.rs')
-rw-r--r--src/ucontext.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ucontext.rs b/src/ucontext.rs
index 6886dd41..da5a5b13 100644
--- a/src/ucontext.rs
+++ b/src/ucontext.rs
@@ -1,6 +1,8 @@
use libc;
#[cfg(not(target_env = "musl"))]
-use {Errno, Result};
+use Result;
+#[cfg(not(target_env = "musl"))]
+use errno::Errno;
use std::mem;
use sys::signal::SigSet;