about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-07-15 04:16:20 +0000
committerbors <bors@rust-lang.org>2014-07-15 04:16:20 +0000
commit2eadfe42e58de0263286195e7560cb85337a3847 (patch)
treefad27715d3341c18b4707d83942143a71720bbf7 /src/rustllvm/RustWrapper.cpp
parentb1ae09e52a712f34de7823de55aaa6ef142c6fe9 (diff)
parenta008fc84aaf429a1966c422297302cf809df796d (diff)
downloadrust-2eadfe42e58de0263286195e7560cb85337a3847.tar.gz
rust-2eadfe42e58de0263286195e7560cb85337a3847.zip
auto merge of #15511 : brson/rust/extract-rustc-back, r=alexcrichton
This was my weekend project, to start breaking up rustc. It first pulls out LLVM into `rustc_llvm`, then parts of `rustc::back` and `rustc::util` to `rustc_back`. The immediate intent is just to reduce the size of rustc, to reduce memory pressure when building rustc, but this is also a good starting point for further refactoring.

The `rustc_back` crate is definitely misnamed (`rustc::back` was never a very cohesive module anyway) - it's mostly just somewhere to stuff parts of rustc that don't have many deps. Right now it's main dep is `syntax`; it has no dep on `rustc_llvm`.

Some next steps might be to split `rustc_back` into `rustc_util` (with no `syntax` dep), and `rustc_syntax_util` (with a syntax dep); move the rest of `rustc::util` into `rustc_syntax_util`; move all of `rustc::front` to a new crate, `rustc_front`. At that point the refactoring necessary to keep extracting crates will get harder.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions