mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-23 07:48:02 +00:00
Skip codegen_crate call in check mode This way we don't have to spawn the coordinator thread. Some errors will no longer be emitted with this in check mode. For example the check that `-Ctarget-cpu` is passed on targets that need this. Suggested by `@saethlin`
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.