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

Confusion about dependencies on Debian based Linux #2934

Open
e00E opened this issue Sep 19, 2024 · 0 comments
Open

Confusion about dependencies on Debian based Linux #2934

e00E opened this issue Sep 19, 2024 · 0 comments

Comments

@e00E
Copy link

e00E commented Sep 19, 2024

The user guide says here that bindgen requires these Debian packages: llvm-dev, libclang-dev, clang.

However, the page also says at the top that bindgen "leverages libclang". So why are we installing anything besides libclang-dev?

I tested this briefly. On a fresh Debian system I install Rust and run cargo test in this repository. When I install only libclang-dev, 4 tests fail (dump_preprocessed_input, header_atomic_constant_h, header_issue_753_h, header_ptr32_has_different_size_h). Installing clang makes dump_preprocessed_input pass. Installing llvm-dev makes no difference.

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

1 participant