Skip to content

Commit a346def

Browse files
committed
rustdoc: Build the crate config correctly. Fixes #5011
1 parent 043150b commit a346def

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/parse.rs

+1-1
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)