summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2022-12-03 17:13:52 +0000
committerGitHub <noreply@github.com>2022-12-03 17:13:52 +0000
commit05f925a888f755991f73ecd9341d3e9b15acc40d (patch)
tree5a3195cead4bdb76f74cbe3755ba86cc6735d9ac /src
parent691ab1311b9a0fd8616ff3f4cba370d4fdec9378 (diff)
parentd26534fb8081031548509d67863a1e2defe92ca7 (diff)
downloadnix-05f925a888f755991f73ecd9341d3e9b15acc40d.zip
Merge #1902
1902: Enable ucontext module on aarch64-unknown-linux-gnu r=asomers a=rtzoeller Untested, but I saw https://github.com/rust-lang/libc/commit/fd32da6e7dfa2afcae86e176904244cf45a90c06 and figured we should uptake it. Co-authored-by: Ryan Zoeller <rtzoeller@rtzoeller.com>
Diffstat (limited to 'src')
-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"]