rust/src/librustc/back
bors e031ba1028 auto merge of #14096 : nick29581/rust/driver, r=brson
The goal of this refactoring is to make the rustc driver code easier to understand and use. Since this is as close to an API as we have, I think it is important that it is nice. On getting stuck in, I found that there wasn't as much to change as I'd hoped to make the stage... functions easier to use by tools (which is a good thing :-) ).

This patch only moves code around - mostly just moving code to different files, but a few extracted method refactorings too. To summarise the changes: I added driver::config which handles everything about configuring the compiler. driver::session now just defines and builds session objects. I moved driver code from librustc/lib.rs to librustc/driver/mod.rs so all the code is one place. I extracted methods to make emulating the compiler without being the compiler a little easier. Within the driver directory, I moved code around to more logically fit in the modules.
2014-05-11 21:31:48 -07:00
..
abi.rs back: abi: remove dead code 2014-04-01 10:12:02 -04:00
archive.rs core: Remove the cast module 2014-05-11 01:13:02 -07:00
arm.rs Reorganise driver code. 2014-05-11 11:08:01 +12:00
link.rs Reorganise driver code. 2014-05-11 11:08:01 +12:00
lto.rs Reorganise driver code. 2014-05-11 11:08:01 +12:00
mips.rs Reorganise driver code. 2014-05-11 11:08:01 +12:00
rpath.rs Handle fallout in librustc 2014-05-08 12:06:22 -07:00
svh.rs Fix misspellings in comments. 2014-04-21 00:49:39 -04:00
target_strs.rs rustc: Switch field privacy as necessary 2014-03-31 15:47:36 -07:00
x86.rs Reorganise driver code. 2014-05-11 11:08:01 +12:00
x86_64.rs Reorganise driver code. 2014-05-11 11:08:01 +12:00