Uh oh!
There was an error while loading. Please reload this page.
Use --cfg when running doctests - #30372
Conversation
rust-highfive
commented
Dec 14, 2015
(rust_highfive has picked a reviewer for you, use r? to override) |
alexcrichton
commented
Dec 14, 2015
Thanks! Could the test actually be added to |
Previously passed --cfg was used only when collecting doctests.
sanxiyn
commented
Dec 15, 2015
Test moved. Thanks for reviewing! |
sanxiyn
commented
Dec 15, 2015
@bors r=alexcrichton |
bors
commented
Dec 15, 2015
📌 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.
briansmith
commented
Jan 8, 2016
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. |
steveklabnik
commented
Jan 8, 2016
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:
|
alexcrichton
commented
Jan 11, 2016
Adding |
alexcrichton
commented
Jan 12, 2016
Accepted for a backport |
Fix#30252.