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

cargo build gives: "cannot find function pthread_atfork in crate libc " #2

Open
shrsulav opened this issue Jun 1, 2021 · 1 comment

Comments

@shrsulav
Copy link

shrsulav commented Jun 1, 2021

I am trying to use this for generating and analyzing ASTs for Rust programs.
However, on first cargo build, it's giving me this error.

I am running this in Ubuntu VM with Windows as host.
What steps should I perform to build this?

@sandeep-gh
Copy link

Bump version of lib in Cargo.toml.
Use this

[dependencies]
pad = "0.1.6"
libc="0.2.126"
syntex_syntax = "0.59.1"

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