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:
bors 2013-12-03 01:51:26 -08:00
commit 6a9db409e5

View file

@ -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()
};