Skip to content

Commit 064e03d

Browse files
committed
rustdoc: Build the crate config correctly. Fixes rust-lang#5011
1 parent cf0b4d5 commit 064e03d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/parse.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,5 @@ pub fn from_str_sess(sess: session::Session, source: ~str) -> @ast::crate {
3939
}
4040
4141
fn cfg(sess: session::Session, input: driver::input) -> ast::crate_cfg {
42-
driver::default_configuration(sess, ~"rustdoc", input)
42+
driver::build_configuration(sess, ~"rustdoc", input)
4343
}

0 commit comments

Comments
 (0)