Skip to content

Commit

Permalink
Revert "Set test flag when rustdoc is running with --test option"
Browse files Browse the repository at this point in the history
This reverts commit 8ed2292.

It caused doctests in this repository to no longer be tested including all of the core crate.
  • Loading branch information
ollie27 committed Jun 8, 2019
1 parent 5c45343 commit 6cc42ce
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/librustdoc/config.rs
Expand Up @@ -351,9 +351,6 @@ impl Options {
.unwrap_or_else(|| PathBuf::from("doc"));
let mut cfgs = matches.opt_strs("cfg");
cfgs.push("rustdoc".to_string());
if should_test {
cfgs.push("test".to_string());
}

let extension_css = matches.opt_str("e").map(|s| PathBuf::from(&s));

Expand Down

0 comments on commit 6cc42ce

Please sign in to comment.