Skip to content

Commit 263e870

Browse files
committed
Enable uconxtext module for s390x
Added to libc by rust-lang/libc@38569c7
1 parent 432fb90 commit 263e870

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ This project adheres to [Semantic Versioning](https://semver.org/).
4545
(#[1563](https://github.com/nix-rust/nix/pull/1563))
4646
- Added `process_vm_readv` and `process_vm_writev` on Android.
4747
(#[1557](https://github.com/nix-rust/nix/pull/1557))
48+
- Added `nix::uncontext` module on s390x.
49+
(#[1662](https://github.com/nix-rust/nix/pull/1662))
4850

4951
### Changed
5052

src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,8 @@ feature! {
146146
// This can be implemented for other platforms as soon as libc
147147
// provides bindings for them.
148148
#[cfg(all(target_os = "linux",
149-
any(target_arch = "x86", target_arch = "x86_64")))]
149+
any(target_arch = "s390x", target_arch = "x86",
150+
target_arch = "x86_64")))]
150151
feature! {
151152
#![feature = "ucontext"]
152153
#[allow(missing_docs)]

0 commit comments

Comments
 (0)