diff options
| author | Brian Anderson <banderson@mozilla.com> | 2014-07-06 21:58:30 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2014-07-14 12:27:07 -0700 |
| commit | be018645d8e19e04ef8bf2db22f2190cb5f04f0a (patch) | |
| tree | f37f18aea711da3bf5d01b6b38bfac43a5f5b7ff /src | |
| parent | 504d4599e248ae3cf00fac09849e23412c4881f4 (diff) | |
| download | rust-be018645d8e19e04ef8bf2db22f2190cb5f04f0a.tar.gz rust-be018645d8e19e04ef8bf2db22f2190cb5f04f0a.zip | |
rustc_back: Update crate docs
Indicate that anything that can be extracted here should and that things with syntax deps should be split out someday.
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc_back/lib.rs | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/librustc_back/lib.rs b/src/librustc_back/lib.rs index f646102802b..b4c4118c76d 100644 --- a/src/librustc_back/lib.rs +++ b/src/librustc_back/lib.rs @@ -8,10 +8,23 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +//! Some stuff used by rustc that doesn't have many dependencies +//! +//! Originally extracted from rustc::back, which was nominally the +//! compiler 'backend', though LLVM is rustc's backend, so rustc_back +//! is really just odds-and-ends relating to code gen and linking. +//! This crate mostly exists to make rustc smaller, so we might put +//! more 'stuff' here in the future. It does not have a dependency on +//! rustc_llvm. +//! +//! FIXME: Split this into two crates: one that has deps on syntax, and +//! one that doesn't; the one that doesn't might get decent parallel +//! build speedups. + #![crate_id = "rustc_back#0.11.0-pre"] #![crate_name = "rustc_back"] #![experimental] -#![comment = "The Rust compiler backend"] +#![comment = "The Rust compiler minimal-dependency dumping-ground"] #![license = "MIT/ASL2"] #![crate_type = "dylib"] #![crate_type = "rlib"] |
