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

Support LLVM libc++ #168

Closed
theoparis opened this issue Feb 29, 2024 · 1 comment
Closed

Support LLVM libc++ #168

theoparis opened this issue Feb 29, 2024 · 1 comment

Comments

@theoparis
Copy link

Bindgen fails to build due to the following line. I use libc++ and it tries to link against libstdc++.

println!("cargo:rustc-flags=-l ffi -l ncursesw -l stdc++ -l z");

theoparis added a commit to theoparis/rust-bindgen that referenced this issue Apr 23, 2024
KyleMayes added a commit that referenced this issue May 27, 2024
KyleMayes added a commit that referenced this issue May 27, 2024
@KyleMayes
Copy link
Owner

I added a libcpp Cargo feature that enables linking to libc++ instead of libstd++ on Linux / Haiku.
This has just been released in v1.8.0.

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