rust/compiler/rustc_codegen_ssa
Nikita Popov b00d0fa0c9 Reliably signal coordinator thread on panic during ongoing codegen
Replace the separate AbortCodegenOnDrop guard by integrating this
functionality into OngoingCodegen (or rather, the Coordinator part
of it). This ensures that we send a CodegenAborted message and
wait for workers to finish even if the panic occurs outside
codegen_crate() (e.g. inside join_codegen()).

This requires some minor changes to the handling of CodegenAborted,
as it can now occur when the main thread is LLVMing rather than
Codegenning.
2022-07-27 16:19:07 +02:00
..
src Reliably signal coordinator thread on panic during ongoing codegen 2022-07-27 16:19:07 +02:00
Cargo.toml Auto merge of #99251 - cuviper:hashbrown-0.12, r=Mark-Simulacrum 2022-07-24 04:03:29 +00:00
README.md mv compiler to compiler/ 2020-08-30 18:45:07 +03:00

Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.