rust/compiler/rustc_driver_impl
Matthias Krüger 6227455345
Rollup merge of #117745 - ouz-a:emit_smir, r=celinval
Emit smir

This adds ability to `-Zunpretty=smir` and get smir output of a Rust file, this is obliviously pretty basic compared to `mir` output but I think we could iteratively improve it, and even at this state this is useful for us.

r? ``@celinval``
2023-11-17 23:04:23 +01:00
..
src Rollup merge of #117745 - ouz-a:emit_smir, r=celinval 2023-11-17 23:04:23 +01:00
Cargo.toml better formatting for statements 2023-11-17 13:28:07 +03:00
messages.ftl Stop telling people to submit bugs for internal feature ICEs 2023-10-25 23:23:04 +02:00
README.md

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.