about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2013-03-25 13:18:00 -0700
committerBrian Anderson <banderson@mozilla.com>2013-03-26 09:20:40 -0700
commita346def8b24f2d0c59e7b1d6212fc351fdbc1745 (patch)
tree4b22216f251fc72695d647fe3b9fe0cdc6f3455c
parent043150b9ab29e46d0dbee36e53737915a09163b7 (diff)
downloadrust-a346def8b24f2d0c59e7b1d6212fc351fdbc1745.tar.gz
rust-a346def8b24f2d0c59e7b1d6212fc351fdbc1745.zip
rustdoc: Build the crate config correctly. Fixes #5011
-rw-r--r--src/librustdoc/parse.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/parse.rs b/src/librustdoc/parse.rs
index 9f44e074bd2..d09182e87f3 100644
--- a/src/librustdoc/parse.rs
+++ b/src/librustdoc/parse.rs
@@ -39,5 +39,5 @@ pub fn from_str_sess(sess: session::Session, source: ~str) -> @ast::crate {
 }
 
 fn cfg(sess: session::Session, input: driver::input) -> ast::crate_cfg {
-    driver::default_configuration(sess, ~"rustdoc", input)
+    driver::build_configuration(sess, ~"rustdoc", input)
 }