diff options
author | Philipp Matthias Schaefer <philipp.matthias.schaefer@posteo.de> | 2016-03-11 16:17:24 +0100 |
---|---|---|
committer | Philipp Matthias Schaefer <philipp.matthias.schaefer@posteo.de> | 2016-03-14 21:43:33 +0100 |
commit | fbe569672fe35db8188bb0a3d0db4739579193a1 (patch) | |
tree | 1e4c2eae79eff2d9f5be0a5e18bf559decf33950 /src/lib.rs | |
parent | cb6a9215fb7ba197f86716a3c3fc029d78886e24 (diff) | |
download | nix-fbe569672fe35db8188bb0a3d0db4739579193a1.zip |
Add context module.
The module wraps context handling related functions and structs.
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -49,6 +49,13 @@ pub mod net; pub mod sched; pub mod sys; + +// This can be implemented for other platforms as soon as libc +// provides bindings for them. +#[cfg(all(target_os = "linux", + any(target_arch = "x86", target_arch = "x86_64")))] +pub mod ucontext; + pub mod unistd; /* |