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 23:46:27 +00:00
2023-10-30 17:33:17 +01:00
2023-10-30 08:46:02 +11:00
2023-10-31 10:42:24 +00:00
2023-10-30 08:46:02 +11:00
2023-10-31 11:50:30 +01:00
2023-10-30 08:46:02 +11:00
2023-10-30 17:33:16 +01:00
2023-10-27 16:07:01 -04:00
2023-10-31 11:23:39 +00:00
2023-10-30 17:33:16 +01:00
2023-10-31 16:15:18 +00:00
2023-10-30 08:46:02 +11:00
2023-10-30 08:46:02 +11:00
2023-10-30 17:33:18 +01:00
2023-10-30 08:46:02 +11:00
2023-10-30 08:46:02 +11:00
2023-11-01 11:29:41 +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 23:46:27 +00:00
2023-10-31 12:55:09 +01:00
2023-10-30 17:33:15 +01:00
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 17:33:15 +01:00
2023-11-01 13:46:15 +11:00
2023-10-30 08:46:02 +11:00
2023-10-30 17:33:19 +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-11-01 03:17:19 +00:00
2023-11-01 03:17:19 +00:00
2023-10-30 08:46:02 +11:00
2023-11-01 01:10:31 +00:00
2023-10-30 08:46:02 +11:00
2023-10-31 12:55:09 +01:00
2023-10-30 08:46:02 +11:00
2023-10-31 10:42:24 +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 17:33:18 +01:00
2023-10-31 19:03:21 +01:00
2023-10-30 08:46:02 +11:00
2023-10-30 08:46:02 +11:00
2023-10-30 17:33:16 +01:00
2023-10-31 06:56:46 +00: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-31 13:17:36 +00:00
2023-10-30 13:11:14 -07:00