Files
rust/src/librustc_driver
Joshua Nelson 95f8daa82b Fix -Z unpretty=everybody_loops
It turns out that this has not been working for who knows how long.
Previously:

```
pub fn h() { 1 + 2; }
```

After this change:

```
pub fn h() { loop {} }
```

This only affected the pass when run with the command line
pretty-printing option, so rustdoc was still replacing bodies with
`loop {}`.
2020-06-19 20:27:22 -04:00
..
2018-12-25 21:08:33 -07:00
2020-06-02 20:38:24 +03:00
2020-06-19 20:27:22 -04:00
2020-05-22 13:31:02 -07: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 dev guide.