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.
This commit is contained in:
commit
6a9db409e5
1 changed files with 1 additions and 0 deletions
|
|
@ -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()
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue