rust/compiler/rustc_passes/src
Matthias Krüger 8ade6baa12
Rollup merge of #136833 - workingjubilee:let-the-impossible-be-impossible, r=compiler-errors
compiler: die immediately instead of handling unknown target codegen

We cannot produce anything useful if asked to compile unknown targets. We should handle the error immediately at the point of discovery instead of propagating it upward, and preferably in the simplest way: Die.

This allows cleaning up our "error-handling" spread across 5 crates.
2025-02-11 18:04:44 +01:00
..
liveness Reformat use declarations. 2024-07-29 08:26:52 +10:00
abi_test.rs compiler: die immediately instead of handling unknown target codegen 2025-02-10 11:04:31 -08:00
check_attr.rs Auto merge of #136751 - bjorn3:update_rustfmt, r=Mark-Simulacrum 2025-02-09 15:44:16 +00:00
dead.rs Handle all PatExprs in dead code analysis 2025-01-29 15:45:13 +00:00
debugger_visualizer.rs Use SourceMap to load debugger visualizer files 2024-12-08 18:57:04 +00:00
diagnostic_items.rs Add tcx.visible_traits() and use it for producing diagnostics 2025-01-14 08:51:19 +00:00
entry.rs remove support for the #[start] attribute 2025-01-21 06:59:15 -07:00
errors.rs Rustfmt 2025-02-08 22:12:13 +00:00
hir_id_validator.rs Use a different hir type for patterns in pattern types than we use in match patterns 2025-02-03 08:18:30 +00:00
input_stats.rs Rustfmt 2025-02-08 22:12:13 +00:00
lang_items.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
layout_test.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
lib_features.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
lib.rs Get rid of HIR const checker 2024-11-22 02:32:26 +00:00
liveness.rs Rollup merge of #135840 - vayunbiyani:omit_intrinsic_unused_param_warning, r=oli-obk 2025-02-01 01:19:19 +01:00
loops.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
naked_functions.rs compiler: remove rustc_target::spec::abi reexports 2025-02-09 20:45:47 -08:00
reachable.rs turn hir::ItemKind::Fn into a named-field variant 2025-01-04 11:35:31 +01:00
stability.rs compiler: start using rustc_ast_lowering in rustc_passes 2025-02-09 20:45:47 -08:00
upvars.rs Add warn(unreachable_pub) to rustc_passes. 2024-08-29 20:18:40 +10:00
weak_lang_items.rs Add support for wasm exception handling to Emscripten target 2025-01-06 10:29:54 +01:00