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

Tracking issue for "Create safe LLVM bindings" #54892

Closed
Centril opened this issue Oct 7, 2018 · 3 comments
Closed

Tracking issue for "Create safe LLVM bindings" #54892

Centril opened this issue Oct 7, 2018 · 3 comments
Labels
C-cleanup Category: PRs that clean code up or issues documenting cleanup. C-tracking-issue Category: A tracking issue for an RFC or an unstable feature. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.

Comments

@Centril
Copy link
Contributor

Centril commented Oct 7, 2018

Refiling rust-lang/rfcs#644 here.

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.

cc #52461

@Centril Centril added T-libs-api Relevant to the library API team, which will review and decide on the PR/issue. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. C-tracking-issue Category: A tracking issue for an RFC or an unstable feature. labels Oct 7, 2018
@tbu-
Copy link
Contributor

tbu- commented Oct 7, 2018

#8274

@oli-obk oli-obk added the C-cleanup Category: PRs that clean code up or issues documenting cleanup. label Oct 7, 2018
@IsaacWoods
Copy link
Contributor

I wonder if we could take some inspiration from Inkwell, which already aims to safely wrap llvm-sys

@Centril
Copy link
Contributor Author

Centril commented Oct 25, 2019

Nothing has happened here for over a year so I think the issue doesn't carry it's weight.

@Centril Centril closed this as completed Oct 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-cleanup Category: PRs that clean code up or issues documenting cleanup. C-tracking-issue Category: A tracking issue for an RFC or an unstable feature. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

4 participants