rust/src/librustc_driver
kennytm 262703cbbe
Rollup merge of #47854 - varkor:create-out-dir, r=pnkfelix
Create a directory for --out-dir if it does not already exist

Currently if `--out-dir` is set to a non-existent directory, the compiler will throw unfriendly messages like `error: could not write output to subdir/example.crate.allocator.rcgu.o: No such file or
directory`, which, while not completely unreadable, isn’t very user-friendly either. This change creates the directory automatically if it does not yet exist.
2018-02-10 14:23:56 +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 rustc: Load the rustc_trans crate at runtime 2018-01-27 19:16:21 -08:00
derive_registrar.rs
driver.rs Rollup merge of #47854 - varkor:create-out-dir, r=pnkfelix 2018-02-10 14:23:56 +08: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).