rust/src/librustc_driver
Nicholas Nethercote 95a6262df1 Replace FileSearch::for_each_lib_search_path with search_paths.
Returning an iterator leads to nicer code all around.
2018-12-12 10:36:15 +11:00
..
profile rustc/driver: whitespace & formatting fixes 2018-10-13 10:15:46 +02:00
build.rs
Cargo.toml Upgrade smallvec to 0.6.7 and use the new may_dangle feature. 2018-12-10 09:31:27 +11:00
driver.rs Replace FileSearch::for_each_lib_search_path with search_paths. 2018-12-12 10:36:15 +11:00
lib.rs Remove Session::sysroot(). 2018-12-12 10:36:15 +11:00
pretty.rs Various minor/cosmetic improvements to code 2018-12-07 23:53:34 +00:00
proc_macro_decls.rs proc_macro: introduce a "bridge" between clients (proc macros) and servers (compiler front-ends). 2018-11-30 06:15:19 +02:00
README.md rustc-guide has moved 2018-11-26 15:03:13 -06:00
test.rs Various minor/cosmetic improvements to code 2018-12-07 23:53:34 +00: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.