1. 15 5月, 2014 1 次提交
  2. 13 5月, 2014 1 次提交
  3. 11 5月, 2014 1 次提交
    • N
      Reorganise driver code. · 37ca3678
      Nick Cameron 提交于
      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... fns easier to use by tools.
      
      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.
      37ca3678
  4. 30 1月, 2013 1 次提交
  5. 04 12月, 2012 1 次提交
  6. 29 11月, 2012 1 次提交
  7. 27 11月, 2012 1 次提交