`rustc_session` cleanups r? `@bjorn3`
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.