Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

could not find ucontext in nix for aarch64-linux-android #2360

Open
yujack008 opened this issue Apr 11, 2024 · 1 comment
Open

could not find ucontext in nix for aarch64-linux-android #2360

yujack008 opened this issue Apr 11, 2024 · 1 comment

Comments

@yujack008
Copy link

yujack008 commented Apr 11, 2024

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
Copy link
Member

Yeah, it is currently exclusive to Linux, we can add it for Android if the required libc types and constants are available

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants