summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorRyan Zoeller <rtzoeller@rtzoeller.com>2022-02-13 09:28:27 -0600
committerRyan Zoeller <rtzoeller@rtzoeller.com>2022-02-13 09:32:56 -0600
commit263e8709fac2c4560ebeeea06a7f6fa6adb89d05 (patch)
tree0fed0b03dcc017161c0983c459a3fc4060a977b0 /src/lib.rs
parent432fb906150599c0072420f9524ac42080e1ca20 (diff)
downloadnix-263e8709fac2c4560ebeeea06a7f6fa6adb89d05.zip
Enable uconxtext module for s390x
Added to libc by https://github.com/rust-lang/libc/commit/38569c719befeb5b5051caeb6b0ff628ccd0ff90
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 5d6a0cba..86dbaffd 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)]