-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Create safe LLVM bindings #644
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
Comments
I've started work on safe LLVM bindings recently [1]. The work is in the very beginning (only small part of API is covered). My bindigs use llvm-sys [2] as unsafe bindings (not ones from rustc). Comments and pull requests are welcome. When something lacks in LLVM C API, I add wrappers for it and I have plans to push these wrappers upstream. [1] https://github.com/jauhien/iron-llvm |
There are also some other projects that are doing this: |
Any news on this topic? |
I am working on some rust ideomatic LLVM bindings right now: https://github.com/vaartis/llvm-rs |
I am working on Inkwell which is a safe wrapper over llvm-sys. It's still early on, but I've got some neat ideas for providing a more pleasant and type-safe interface. Contributors are welcome :) |
Any progress here? 😅 |
Closing in favor of the tracking issue rust-lang/rust#54892. |
Saturday Aug 03, 2013 at 23:15 GMT
For earlier discussion, see rust-lang/rust#8274
This issue was labelled with: A-libs, A-llvm, E-tedious in the Rust repository
rustc's LLVM bindings are a bit of a hodgepodge. Some abstractions have been added on top of the C bindings, but not consistently. It would be nice to do some serious cleanup here so that rustc is using only safe, high-level bindings.
The text was updated successfully, but these errors were encountered: