Skip to content

[rfc] Use a dynamically loaded clang to do as much as we can with old clang versions, and experiment with new ones. #335

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

Merged
merged 1 commit into from
Dec 14, 2016

Conversation

emilio
Copy link
Contributor

@emilio emilio commented Dec 13, 2016

It's a pity that we don't support clang 3.7 and similar for generating C
bindings, when it should be straight-forward.

This change should allow us to support older clang versions, and also
experiment with pre-release clang APIs if needed.

This depends on: KyleMayes/clang-sys#44

@highfive
Copy link

warning Warning warning

  • These commits modify unsafe code. Please review it carefully!

@emilio
Copy link
Contributor Author

emilio commented Dec 13, 2016

r? @fitzgen

Copy link
Member

@fitzgen fitzgen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks reasonable!

@bors-servo
Copy link

☔ The latest upstream changes (presumably #338) made this pull request unmergeable. Please resolve the merge conflicts.

@KyleMayes
Copy link
Contributor

clang-sys 0.12.0 has been released with the runtime API stuff.

Also,

clang-sys = { version = "0.11.1", features = ["runtime", "gte_clang_3_6", "gte_clang_3_7", "gte_clang_3_8", "gte_clang_3_9"] }

can be replaced with

clang-sys = { version = "0.11.1", features = ["runtime", "clang_3_9"] }

@emilio
Copy link
Contributor Author

emilio commented Dec 14, 2016 via email

@emilio emilio force-pushed the dlopen branch 2 times, most recently from 81f47ef to 6c565fd Compare December 14, 2016 09:24
@emilio
Copy link
Contributor Author

emilio commented Dec 14, 2016

@bors-servo try

@bors-servo
Copy link

⌛ Trying commit 6c565fd with merge fc29b51...

bors-servo pushed a commit that referenced this pull request Dec 14, 2016
[rfc] Use a dynamically loaded clang to do as much as we can with old clang versions, and experiment with new ones.

It's a pity that we don't support clang 3.7 and similar for generating C
bindings, when it should be straight-forward.

This change should allow us to support older clang versions, and also
experiment with pre-release clang APIs if needed.

This depends on: KyleMayes/clang-sys#44
@bors-servo
Copy link

☀️ Test successful - status-travis

@emilio
Copy link
Contributor Author

emilio commented Dec 14, 2016

@bors-servo r=fitzgen

@bors-servo
Copy link

📌 Commit 6c565fd has been approved by fitzgen

@bors-servo
Copy link

💡 This pull request was already approved, no need to approve it again.

@bors-servo
Copy link

📌 Commit 6c565fd has been approved by fitzgen

… versions, and experiment with new ones.

It's a pity that we don't support clang 3.7 and similar for generating C
bindings, when it should be straight-forward.

This should allow us to support older clang versions, and also experiment with
pre-release clang APIs if needed.

This depends on: KyleMayes/clang-sys#44
@emilio
Copy link
Contributor Author

emilio commented Dec 14, 2016

@bors-servo r=fitzgen

Pushed a dummy commit to un-confuse bors.

@bors-servo
Copy link

📌 Commit d934705 has been approved by fitzgen

@bors-servo
Copy link

⌛ Testing commit d934705 with merge 517ce8b...

bors-servo pushed a commit that referenced this pull request Dec 14, 2016
[rfc] Use a dynamically loaded clang to do as much as we can with old clang versions, and experiment with new ones.

It's a pity that we don't support clang 3.7 and similar for generating C
bindings, when it should be straight-forward.

This change should allow us to support older clang versions, and also
experiment with pre-release clang APIs if needed.

This depends on: KyleMayes/clang-sys#44
@bors-servo
Copy link

☀️ Test successful - status-travis

@bors-servo bors-servo merged commit d934705 into rust-lang:master Dec 14, 2016
@emilio emilio deleted the dlopen branch May 7, 2017 13:02
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

Successfully merging this pull request may close these issues.

5 participants