Skip to content

Commit 6a9db40

Browse files
committed
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.
2 parents f1ef36e + 6600ba9 commit 6a9db40

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/librustdoc/core.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ fn get_ast_and_resolve(cpath: &Path,
5151
binary: @"rustdoc",
5252
maybe_sysroot: Some(@os::self_exe_path().unwrap().dir_path()),
5353
addl_lib_search_paths: @mut libs,
54+
outputs: ~[driver::session::OutputDylib],
5455
.. (*rustc::driver::session::basic_options()).clone()
5556
};
5657

0 commit comments

Comments
 (0)