-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Use --cfg when running doctests #30372
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
Thanks! Could the test actually be added to |
Previously passed --cfg was used only when collecting doctests.
Test moved. Thanks for reviewing! |
@bors r=alexcrichton |
📌 Commit eb25721 has been approved by |
The hidden "mod test" layout of the first example has been broken for a while, but it wasn't noticed because rustdoc wasn't passing any features at all. That was fixed in rust-lang/rust#30372, and now we need to get our ducks in a row too.
The RSA doctest had to be disabled temporarily until rust-lang/rust#30372 makes it to the stable Rust channel (Rust 1.8). Some of the tests and the test framework in |ring::file_test| are still using the heap. This will be fixed separately.
Could this change be backported to 1.7 and 1.6? This seems like a small change that would be low risk for backporting. I am working on adding Thanks. |
I'm not sure we should be back porting things this close to the release. I'm on the super conservative side on this though. On Jan 8, 2016, 16:15 -0500, Brian Smithnotifications@github.com, wrote:
|
Adding |
Accepted for a backport |
Fix #30252.