about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-12-03 01:51:26 -0800
committerbors <bors@rust-lang.org>2013-12-03 01:51:26 -0800
commit6a9db409e5d6eb81009e627b91e5425ce39fa52d (patch)
tree16e051bd7f88e2d709f09aceb7c212d44d7f0e7d
parentf1ef36ea2ffcb3af7ea76b323f8cb47670fd243c (diff)
parent6600ba97c352058b08e077f7ae64dc92f87fadb6 (diff)
auto merge of #10782 : alexcrichton/rust/rustdoc-lib, r=thestinger
This makes sure that when generating documentation we don't waste time doing
things like looking for a main function.
-rw-r--r--src/librustdoc/core.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustdoc/core.rs b/src/librustdoc/core.rs
index dc8e9072499..b0ff224badb 100644
--- a/src/librustdoc/core.rs
+++ b/src/librustdoc/core.rs
@@ -51,6 +51,7 @@ fn get_ast_and_resolve(cpath: &Path,
         binary: @"rustdoc",
         maybe_sysroot: Some(@os::self_exe_path().unwrap().dir_path()),
         addl_lib_search_paths: @mut libs,
+        outputs: ~[driver::session::OutputDylib],
         .. (*rustc::driver::session::basic_options()).clone()
     };