Skip to content

Rename llvm_stable feature and remove references from docs. #501

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 5 commits into from
Feb 10, 2017

Conversation

faineance
Copy link
Contributor

@faineance faineance commented Feb 9, 2017

Fixes: #409

@fitzgen
Copy link
Member

fitzgen commented Feb 9, 2017

Awesome! Taking a look now :)

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.

Thanks!

@@ -11,4 +11,4 @@ bindgen = { path = ".." }
gcc = "0.3"

[features]
llvm_stable = ["bindgen/llvm_stable"]
__testing_only_llvm_stable = ["bindgen/__testing_only_llvm_stable"]
Copy link
Member

Choose a reason for hiding this comment

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

IIRC, cargo had issues with _ prefixed features, so we may need to change this to simply testing_only_llvm_stable. We'll see when travis CI results get in :)

CONTRIBUTING.md Outdated
@@ -90,7 +90,7 @@ Run `cargo test` to compare generated Rust bindings to the expectations.
### Running All Tests

```
$ cargo test [--features llvm_stable]
$ cargo test --all-features
Copy link
Member

Choose a reason for hiding this comment

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

Oh neat! TIL

@@ -69,7 +69,7 @@ that you aren't forgetting to document types and functions. CI will catch it if
you forget, but the turn around will be a lot slower ;)

```
$ cargo build --features "llvm_stable _docs"
$ cargo build --features docs_
Copy link
Member

Choose a reason for hiding this comment

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

Yeah the trailing _ was because leading ones weren't properly handled. Perhaps this should be testing_only_docs too?

@fitzgen
Copy link
Member

fitzgen commented Feb 9, 2017

Ping me after removing leading underscores and I'll r+

Thanks again!

@faineance
Copy link
Contributor Author

Removed the leading underscores, now the build will tell.

@fitzgen
Copy link
Member

fitzgen commented Feb 10, 2017

Thanks!

@bors-servo r+

@bors-servo
Copy link

📌 Commit 0db962b has been approved by fitzgen

@bors-servo
Copy link

⌛ Testing commit 0db962b with merge 0ae42f2...

bors-servo pushed a commit that referenced this pull request Feb 10, 2017
Rename llvm_stable feature and remove references from docs.

Fixes: #409
@bors-servo
Copy link

☀️ Test successful - status-travis
Approved by: fitzgen
Pushing 0ae42f2 to master...

@bors-servo bors-servo merged commit 0db962b into rust-lang:master Feb 10, 2017
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.

4 participants