rust/src/librustc_driver
bors 23f09bbed4 Auto merge of #53085 - ljedrz:cleanup_syntax_structures, r=ljedrz
Move SmallVector and ThinVec out of libsyntax

- move `libsyntax::util::SmallVector` tests to `librustc_data_structures::small_vec`
- remove `libsyntax::util::SmallVector`
- move `libsyntax::util::thin_vec` to `librustc_data_structures::thin_vec`

Other than moving these data structures where they belong it allows modules using `SmallVector<T>` (`SmallVec<[T; 1]>`) to specify their own length (e.g. 8 or 32) independently from `libsyntax`.
2018-08-14 15:09:37 +00:00
..
profile Auto merge of #52805 - ljedrz:format_str_literal, r=petrochenkov 2018-07-30 06:29:39 +00:00
build.rs
Cargo.toml Remove unused rustc_driver dependency on ar 2018-07-07 10:52:19 +02:00
derive_registrar.rs
driver.rs syntax: gensym the injected std/core extern crates in the Rust 2018 edition. 2018-08-14 07:06:46 +03:00
lib.rs [nll] librustc_driver: enable feature(nll) for bootstrap 2018-08-09 06:50:40 -04:00
pretty.rs Move SmallVec and ThinVec out of libsyntax 2018-08-13 22:11:57 +02:00
README.md
test.rs Move basic_options to impl of Default 2018-08-04 06:54:36 -06:00

The driver crate is effectively the "main" function for the rust compiler. It orchestrates the compilation process and "knits together" the code from the other crates within rustc. This crate itself does not contain any of the "main logic" of the compiler (though it does have some code related to pretty printing or other minor compiler options).

For more information about how the driver works, see the rustc guide.