Skip to content

Commit be01864

Browse files
committed
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.
1 parent 504d459 commit be01864

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

src/librustc_back/lib.rs

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,23 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
//! Some stuff used by rustc that doesn't have many dependencies
12+
//!
13+
//! Originally extracted from rustc::back, which was nominally the
14+
//! compiler 'backend', though LLVM is rustc's backend, so rustc_back
15+
//! is really just odds-and-ends relating to code gen and linking.
16+
//! This crate mostly exists to make rustc smaller, so we might put
17+
//! more 'stuff' here in the future. It does not have a dependency on
18+
//! rustc_llvm.
19+
//!
20+
//! FIXME: Split this into two crates: one that has deps on syntax, and
21+
//! one that doesn't; the one that doesn't might get decent parallel
22+
//! build speedups.
23+
1124
#![crate_id = "rustc_back#0.11.0-pre"]
1225
#![crate_name = "rustc_back"]
1326
#![experimental]
14-
#![comment = "The Rust compiler backend"]
27+
#![comment = "The Rust compiler minimal-dependency dumping-ground"]
1528
#![license = "MIT/ASL2"]
1629
#![crate_type = "dylib"]
1730
#![crate_type = "rlib"]

0 commit comments

Comments
 (0)