summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorRyan Zoeller <rtzoeller@rtzoeller.com>2022-12-02 19:43:25 -0600
committerRyan Zoeller <rtzoeller@rtzoeller.com>2022-12-02 19:43:25 -0600
commitd26534fb8081031548509d67863a1e2defe92ca7 (patch)
tree9f68b8a8c2b8d077db7b94b0cf95004b851964f2 /src/lib.rs
parented8319c01a3fff74df24bc9c920d742a0f94874e (diff)
downloadnix-d26534fb8081031548509d67863a1e2defe92ca7.zip
Enable ucontext module on aarch64-unknown-linux-gnu
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 6b821257..6349d37e 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -144,7 +144,12 @@ feature! {
// provides bindings for them.
#[cfg(all(
target_os = "linux",
- any(target_arch = "s390x", target_arch = "x86", target_arch = "x86_64")
+ any(
+ target_arch = "aarch64",
+ target_arch = "s390x",
+ target_arch = "x86",
+ target_arch = "x86_64"
+ )
))]
feature! {
#![feature = "ucontext"]