diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2022-12-03 17:13:52 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-03 17:13:52 +0000 |
commit | 05f925a888f755991f73ecd9341d3e9b15acc40d (patch) | |
tree | 5a3195cead4bdb76f74cbe3755ba86cc6735d9ac /src | |
parent | 691ab1311b9a0fd8616ff3f4cba370d4fdec9378 (diff) | |
parent | d26534fb8081031548509d67863a1e2defe92ca7 (diff) | |
download | nix-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.rs | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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"] |