rust/src/librustc_driver
Phlosioneer c97c7bfcf3 Add info message for -Wall command
Users coming from other languages (namely C and C++) often expect
to use a -Wall flag. Rustc doesn't support that, and previously it
simply printed that it didn't recognize the "all" lint.

This change makes rustc print out a help message, explaining:
- Why there is no -Wall flag
- How to view all the available warnings
- Point out that the most commonly used warning is -Wunused
- Instead of using a command-line flag, the user should consider
  a !#[warn(unused)] directive in the root of their crate.
2018-03-06 00:01:30 -05: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 Turn features() into a query. 2018-03-05 11:05:01 +01:00
lib.rs Add info message for -Wall command 2018-03-06 00:01:30 -05: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 Replace Rc with Lrc for shared data 2018-03-02 10:48:52 +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).