-
Notifications
You must be signed in to change notification settings - Fork 742
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
Conversation
Awesome! Taking a look now :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
bindgen-integration/Cargo.toml
Outdated
@@ -11,4 +11,4 @@ bindgen = { path = ".." } | |||
gcc = "0.3" | |||
|
|||
[features] | |||
llvm_stable = ["bindgen/llvm_stable"] | |||
__testing_only_llvm_stable = ["bindgen/__testing_only_llvm_stable"] |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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_ |
There was a problem hiding this comment.
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?
Ping me after removing leading underscores and I'll r+ Thanks again! |
Removed the leading underscores, now the build will tell. |
Thanks! @bors-servo r+ |
📌 Commit 0db962b has been approved by |
Rename llvm_stable feature and remove references from docs. Fixes: #409
☀️ Test successful - status-travis |
Fixes: #409