rust/src/librustc_driver
kennytm 0ee069c70a Rollup merge of #46814 - varkor:contrib-7, r=alexcrichton
Prevent rustc overwriting input files

If rustc is invoked on a file that would be overwritten by the
compilation, the compilation now fails, to avoid accidental loss. This
resolves #13019. Kudos to @estebank, whose patch I finished off.
2017-12-22 02:50:49 +08: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 Add sync module to rustc_data_structures 2017-12-17 14:14:51 +01:00
derive_registrar.rs kill a bunch of one off tasks 2017-04-18 08:20:12 -04:00
driver.rs Move source-output conflict checking into compile_input 2017-12-19 01:54:00 +00:00
lib.rs Move source-output conflict checking into compile_input 2017-12-19 01:54:00 +00:00
pretty.rs Auto merge of #46537 - pnkfelix:two-phase-borrows, r=arielb1 2017-12-15 05:40:12 +00:00
README.md rework the README.md for rustc and add other readmes 2017-09-19 09:00:59 -04:00
target_features.rs Introduce temporary target feature crt_static_respected 2017-08-22 16:24:29 -05:00
test.rs trait alias fallout 2017-12-14 12:56:26 -05: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 orchstrates 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).