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

Add swig binding and/or C-compiler-fe-based bindings generator #104

Closed
graydon opened this issue Jul 11, 2010 · 6 comments
Closed

Add swig binding and/or C-compiler-fe-based bindings generator #104

graydon opened this issue Jul 11, 2010 · 6 comments

Comments

@graydon
Copy link
Contributor

graydon commented Jul 11, 2010

Start work on a "C library bindings" generator. This can take the form of a swig language binding, a gcc dehydra script, a clang plugin, or anything along these lines.

@brson
Copy link
Contributor

brson commented Jan 10, 2012

@erickt has started building clang bindings git://github.com/erickt/rust-clang.git

@jckarter
Copy link

Just a heads up: it looks like @erickt's bindings are for libclang 3.0, which when I tried it, wasn't adequate for generating bindings. I submitted a patch a while back which is in 3.1svn that adds some necessary cursor types and entry points.

@erickt
Copy link
Contributor

erickt commented Jan 11, 2012

Great! I'm happy to update clang once our llvm fork can be updated too. Which revision did you add? I'm developing against r145776. I may be able to backport some of the changes into my helper library.

@brson, any luck getting the llvm patch upstreamed?

@brson
Copy link
Contributor

brson commented Jan 11, 2012

Our llvm patches have been reviewed. I expect that we'll be back on llvm trunk this week.

@jckarter
Copy link

@erickt My patch was clang r145972. It applies fairly cleanly to vanilla 3.0 if you want to cherry-pick.

@graydon
Copy link
Contributor Author

graydon commented Aug 8, 2012

This has long since been "done" in the sense of bindgen existing. There's a bug on adopting it (#2045) so closing this.

@graydon graydon closed this as completed Aug 8, 2012
oli-obk pushed a commit to oli-obk/rust that referenced this issue Jul 19, 2017
bors added a commit that referenced this issue Jul 13, 2019
Fact generation for liveness calculations in Polonius

This PR tracks ongoing work to extend `rustc` with support for generating variable use, definition, and later also drop output for the Polonius solver, the whole of which is being tracked in [Polonius Issue #104](rust-lang/polonius#104).
eddyb pushed a commit to eddyb/rust that referenced this issue Jun 30, 2020
djtech-dev pushed a commit to djtech-dev/rust that referenced this issue Dec 9, 2021
Move PassManager::{initialize,finalize} to PassManager<FunctionValue>.
bjorn3 pushed a commit to bjorn3/rust that referenced this issue Dec 31, 2021
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

4 participants