rust/compiler/rustc_interface/src
Nicholas Nethercote 587af91045 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.
2023-11-01 13:46:15 +11:00
..
callbacks.rs Remove an unnecessary drop. 2023-10-30 20:45:11 +11:00
errors.rs Write to stdout if - is given as output file 2023-06-06 17:53:29 -04:00
interface.rs Inline and remove create_session. 2023-11-01 13:46:15 +11:00
lib.rs MCP636: Add simpler and more explicit syntax to check-cfg 2023-10-13 13:34:21 +02:00
passes.rs Remove check_output. 2023-10-30 15:42:03 +11:00
proc_macro_decls.rs Move expansion of query macros in rustc_middle to rustc_middle::query 2023-05-15 08:49:13 +02:00
queries.rs Stop telling people to submit bugs for internal feature ICEs 2023-10-25 23:23:04 +02:00
tests.rs Streamline some use items. 2023-10-30 20:45:11 +11:00
util.rs Inline and remove create_session. 2023-11-01 13:46:15 +11:00