auto merge of #12155 : sanxiyn/rust/binary, r=pnkfelix
The field is unused.
This commit is contained in:
commit
8ef25597e6
5 changed files with 4 additions and 11 deletions
|
|
@ -51,7 +51,6 @@ fn get_ast_and_resolve(cpath: &Path,
|
|||
let input = FileInput(cpath.clone());
|
||||
|
||||
let sessopts = @driver::session::Options {
|
||||
binary: ~"rustdoc",
|
||||
maybe_sysroot: Some(@os::self_exe_path().unwrap().dir_path()),
|
||||
addl_lib_search_paths: @RefCell::new(libs),
|
||||
crate_types: ~[driver::session::CrateTypeDylib],
|
||||
|
|
|
|||
|
|
@ -41,7 +41,6 @@ pub fn run(input: &str, matches: &getopts::Matches) -> int {
|
|||
let libs = @RefCell::new(libs.move_iter().collect());
|
||||
|
||||
let sessopts = @session::Options {
|
||||
binary: ~"rustdoc",
|
||||
maybe_sysroot: Some(@os::self_exe_path().unwrap().dir_path()),
|
||||
addl_lib_search_paths: libs,
|
||||
crate_types: ~[session::CrateTypeDylib],
|
||||
|
|
@ -101,7 +100,6 @@ fn runtest(test: &str, cratename: &str, libs: HashSet<Path>) {
|
|||
let input = driver::StrInput(test);
|
||||
|
||||
let sessopts = @session::Options {
|
||||
binary: ~"rustdoctest",
|
||||
maybe_sysroot: Some(@os::self_exe_path().unwrap().dir_path()),
|
||||
addl_lib_search_paths: @RefCell::new(libs),
|
||||
crate_types: ~[session::CrateTypeExecutable],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue