summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 6d7ff55b..0cfd3fb4 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -146,7 +146,8 @@ feature! {
// 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")))]
+ any(target_arch = "s390x", target_arch = "x86",
+ target_arch = "x86_64")))]
feature! {
#![feature = "ucontext"]
#[allow(missing_docs)]