could not find `ucontext` in `nix` for aarch64-linux-android
yujack008 opened this issue · comments
yujack008 commented
error[E0433]: failed to resolve: could not find ucontext
in nix
--> src\main.rs:22:39
|
22 | if let Ok(context) = nix::ucontext::UContext::get() {
| ^^^^^^^^ could not find ucontext
in nix
nix = { version = "0.28.0", features = ["signal","ucontext"] }
SteveLauC commented
Yeah, it is currently exclusive to Linux, we can add it for Android if the required libc types and constants are available