Files
rust/compiler/rustc_driver_impl
Jonathan Brouwer ce606c6186 Rollup merge of #160544 - zachs18:stabilize-trim_prefix_suffix, r=clarfonthey
Stabilize `feature(trim_prefix_suffix)` (`{str, [T], Path}::trim_prefix` and `{str, [T]}::trim_suffix`)

Closes rust-lang/rust#142312 (tracking issue)

FCP completed [here](https://github.com/rust-lang/rust/issues/142312#issuecomment-4920020056). There was discussion during FCP about a possibly adding `strip_circumfix`, but that wasn't mentioned as blocking.

r? libs-api
2026-09-17 16:50:48 +02:00
..
2026-08-21 10:35:02 +02: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.