rust/src/librustc_driver
bors ca7d839088 Auto merge of #47203 - varkor:output-filename-conflicts-with-directory, r=estebank
Warn when rustc output conflicts with existing directories

When the compiled executable would conflict with a directory, display a
rustc error instead of a verbose and potentially-confusing linker
error. This is a usability improvement, and doesn’t actually change
behaviour with regards to compilation success. This addresses the
concern in #35887. Fixes #13098.
2018-02-06 09:51:03 +00:00
..
profile Compress "small" spans to 32 bits and intern "large" spans 2017-09-23 00:34:13 +03:00
build.rs rustc: Add some build scripts for librustc crates 2017-07-22 22:04:13 -07:00
Cargo.toml rustc: Load the rustc_trans crate at runtime 2018-01-27 19:16:21 -08:00
derive_registrar.rs kill a bunch of one off tasks 2017-04-18 08:20:12 -04:00
driver.rs Specify output filenames for compatibility with Windows 2018-01-29 14:38:50 +00:00
lib.rs Auto merge of #47900 - kennytm:rollup, r=kennytm 2018-01-31 20:51:02 +00:00
pretty.rs rustc: Load the rustc_trans crate at runtime 2018-01-27 19:16:21 -08:00
README.md Prefer to use attr::contains_name() and attr::find_by_name() 2017-12-28 12:32:24 +09:00
test.rs Fix rustc_driver test.rs 2018-01-19 20:27:12 +01:00

NB: This crate is part of the Rust compiler. For an overview of the compiler as a whole, see the README.md file found in librustc.

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).