rust/compiler
Matthias Krüger 515fdbf687
Rollup merge of #117475 - nnethercote:rm-create_session, r=oli-obk
Inline and remove `create_session`.

Currently the parts of session initialization that happen within `rustc_interface` are split between `run_compiler` and `create_session`. This split isn't necessary and obscures what's happening.

This commit merges the two functions. I think a single longer function is much clearer than splitting this code across two functions in different modules, especially when `create_session` has 13 parameters, and is misnamed (it also creates the codegen backend). The net result is 43 fewer lines of code.

r? ``@oli-obk``
2023-11-01 11:29:42 +01:00
..
2023-10-30 08:46:02 +11:00
2023-10-30 08:46:02 +11:00
2023-10-30 08:46:02 +11:00
2023-10-30 08:46:02 +11:00
2023-10-30 08:46:02 +11:00
2023-10-30 08:46:02 +11:00
2023-10-30 23:46:27 +00:00
2023-10-30 08:46:02 +11:00
2023-10-30 08:46:02 +11:00
2023-10-30 08:46:02 +11:00
2023-10-30 08:46:02 +11:00
2023-10-30 08:46:02 +11:00
2023-10-30 08:46:02 +11:00
2023-10-30 08:46:02 +11:00
2023-10-31 13:17:36 +00:00
2023-10-30 13:11:14 -07:00