rust/src/compiletest
Cadence Marseille 5de42701a8 Fix #10754 - std::run functions fail after io_error
The problem was that std::run::Process::new() was unwrap()ing the result
of std::io::process::Process::new(), which returns None in the case
where the io_error condition is raised to signal failure to start the
process.

Have std::run::Process::new() similarly return an Option<run::Process>
to reflect the fact that a subprocess might have failed to start. Update
utility functions run::process_status() and run::process_output() to
return Option<ProcessExit> and Option<ProcessOutput>, respectively.

Various parts of librustc and librustpkg needed to be updated to reflect
these API changes.

closes #10754
2013-12-14 12:50:04 -05:00
..
common.rs auto merge of #8886 : cmr/rust/test-restructure, r=cmr 2013-08-30 14:00:43 -07:00
compiletest.rs compiletest: Remove uses of Cell. 2013-12-10 15:13:12 -08:00
errors.rs std::io: Add Buffer.lines(), change .bytes() api 2013-12-11 15:50:51 +09:00
header.rs std::io: Add Buffer.lines(), change .bytes() api 2013-12-11 15:50:51 +09:00
procsrv.rs Fix #10754 - std::run functions fail after io_error 2013-12-14 12:50:04 -05:00
runtest.rs Fix #10754 - std::run functions fail after io_error 2013-12-14 12:50:04 -05:00
util.rs Remove dead codes 2013-12-08 02:55:28 -05:00