rust/compiler
Martin Nordholts 52b19f7dda compiler: Don't mark SingleUseConsts MIR pass as "required for soundness"
Because:
* Something like it did not exist before PR 107404
* That it is not run our mir-opt-level 0 indicates that it is not
  required for soundness
* Its `MirPass::can_be_overridden()` is unchanged and thus returns true,
  indicating that it is not a required MIR pass.
* No test fails in PR 151426 that stops enabling by default in non-optimized builds

As can be seen from the updated test `tests/mir-opt/optimize_none.rs`,
this means that `#[optimize(none)]` functions become even less
optimized. As expected and as desired.
2026-02-17 06:22:39 +01:00
..
rustc Return ExitCode from rustc_driver::main 2026-01-23 21:04:27 +00:00
rustc_abi Auto merge of #152517 - jhpratt:rollup-fGRcId6, r=jhpratt 2026-02-12 06:57:59 +00:00
rustc_arena Replace some feature(core_intrinsics) with stable hints 2026-02-08 18:21:47 +11:00
rustc_ast Allow provisional mgca syntax of type const <IDENT> = <EXPR> to be reconized. 2026-02-09 07:59:24 -08:00
rustc_ast_ir Implement &pin patterns and ref pin bindings 2025-11-10 09:57:08 +08:00
rustc_ast_lowering Allow provisional mgca syntax of type const <IDENT> = <EXPR> to be reconized. 2026-02-09 07:59:24 -08:00
rustc_ast_passes Convert some impl Subdiagnostics to derives 2026-02-11 19:45:04 +01:00
rustc_ast_pretty Allow provisional mgca syntax of type const <IDENT> = <EXPR> to be reconized. 2026-02-09 07:59:24 -08:00
rustc_attr_parsing Auto merge of #152517 - jhpratt:rollup-fGRcId6, r=jhpratt 2026-02-12 06:57:59 +00:00
rustc_baked_icu_data Unify the configuration of the compiler docs 2025-11-05 11:25:27 +00:00
rustc_borrowck Auto merge of #152517 - jhpratt:rollup-fGRcId6, r=jhpratt 2026-02-12 06:57:59 +00:00
rustc_builtin_macros Auto merge of #152517 - jhpratt:rollup-fGRcId6, r=jhpratt 2026-02-12 06:57:59 +00:00
rustc_codegen_cranelift Use cg_ssa's produce_final_output_artifacts in cg_clif 2026-02-11 12:36:19 +00:00
rustc_codegen_gcc Rollup merge of #152478 - bjorn3:lto_refactors10, r=wesleywiser 2026-02-12 00:41:08 -05:00
rustc_codegen_llvm Auto merge of #148537 - oli-obk:push-yxuttqrqqyvu, r=dianqk 2026-02-12 13:23:22 +00:00
rustc_codegen_ssa Auto merge of #152517 - jhpratt:rollup-fGRcId6, r=jhpratt 2026-02-12 06:57:59 +00:00
rustc_const_eval Auto merge of #148537 - oli-obk:push-yxuttqrqqyvu, r=dianqk 2026-02-12 13:23:22 +00:00
rustc_data_structures Stabilize assert_matches 2026-02-11 14:13:44 +01:00
rustc_driver Unify the configuration of the compiler docs 2025-11-05 11:25:27 +00:00
rustc_driver_impl Rollup merge of #152250 - JonathanBrouwer:convert_finish, r=jdonszelmann 2026-02-08 19:15:25 +01:00
rustc_error_codes Fix tidy formatting manually for E0423.md 2026-01-31 10:46:58 +05:30
rustc_error_messages Remove SubdiagMessage in favour of the identical DiagMessage 2026-02-10 09:13:45 +00:00
rustc_errors Stabilize assert_matches 2026-02-11 14:13:44 +01:00
rustc_expand Rollup merge of #152431 - oli-obk:limited_stability_attr, r=jdonszelmann 2026-02-11 13:48:47 +01:00
rustc_feature Allow provisional mgca syntax of type const <IDENT> = <EXPR> to be reconized. 2026-02-09 07:59:24 -08:00
rustc_fs_util Avoid using env::temp when linking a binary 2025-12-24 06:41:42 +00:00
rustc_graphviz change non-canonical clone impl to {*self}, fix some doc comments 2025-12-20 13:46:22 +00:00
rustc_hashes some cleanups in compiler 2025-10-12 08:08:30 +00:00
rustc_hir Port #![test_runner] to the attribute parser 2026-02-11 11:33:49 +00:00
rustc_hir_analysis Auto merge of #152517 - jhpratt:rollup-fGRcId6, r=jhpratt 2026-02-12 06:57:59 +00:00
rustc_hir_id rustc_hir_id: Add a comment explaining why the crate exists 2025-08-20 15:04:00 -07:00
rustc_hir_pretty Allow provisional mgca syntax of type const <IDENT> = <EXPR> to be reconized. 2026-02-09 07:59:24 -08:00
rustc_hir_typeck Auto merge of #152517 - jhpratt:rollup-fGRcId6, r=jhpratt 2026-02-12 06:57:59 +00:00
rustc_incremental Fix existing messages in the diag structs 2026-02-07 09:11:34 +01:00
rustc_index simplify words initialization using Rc::new_zeroed 2026-01-16 04:25:12 +05:30
rustc_index_macros Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
rustc_infer Stabilize assert_matches 2026-02-11 14:13:44 +01:00
rustc_interface Move parts of rustc_query_system::query::job to rustc_middle::job. 2026-02-10 16:59:33 +11:00
rustc_lexer Remove rustc_lexer::cursor module. 2026-01-27 12:06:55 +11:00
rustc_lint Auto merge of #152517 - jhpratt:rollup-fGRcId6, r=jhpratt 2026-02-12 06:57:59 +00:00
rustc_lint_defs Add FCW for derive helper attributes that will conflict with built-in attributes 2026-02-10 19:39:19 +00:00
rustc_llvm Rollup merge of #150780 - fzakaria:fzakaria/section-threshold, r=jackh726 2026-01-23 11:07:55 +01:00
rustc_log Restrict sysroot crate imports to those defined in this repo. 2025-10-15 13:17:25 +01:00
rustc_macros Auto merge of #151943 - Zalathar:cache-on-disk, r=TaKO8Ki 2026-02-10 20:57:44 +00:00
rustc_metadata Remove some empty subdiagnostics 2026-02-11 19:23:46 +01:00
rustc_middle Auto merge of #152517 - jhpratt:rollup-fGRcId6, r=jhpratt 2026-02-12 06:57:59 +00:00
rustc_mir_build Stabilize assert_matches 2026-02-11 14:13:44 +01:00
rustc_mir_dataflow Stabilize assert_matches 2026-02-11 14:13:44 +01:00
rustc_mir_transform compiler: Don't mark SingleUseConsts MIR pass as "required for soundness" 2026-02-17 06:22:39 +01:00
rustc_monomorphize Reformat existing messages 2026-02-08 23:07:58 +01:00
rustc_next_trait_solver Rollup merge of #152383 - RalfJung:BikeshedGuaranteedNoDrop, r=TaKO8Ki 2026-02-11 13:48:50 +01:00
rustc_parse Auto merge of #152517 - jhpratt:rollup-fGRcId6, r=jhpratt 2026-02-12 06:57:59 +00:00
rustc_parse_format rustc_parse_format: improve diagnostics for unsupported debug = syntax 2026-02-06 00:44:03 +05:30
rustc_passes Port #![test_runner] to the attribute parser 2026-02-11 11:33:49 +00:00
rustc_pattern_analysis Convert some impl Subdiagnostics to derives 2026-02-11 19:45:04 +01:00
rustc_privacy Rollup merge of #151887 - scottmcm:homogeneous-try-in-compiler, r=jackh726 2026-02-08 16:58:23 +11:00
rustc_proc_macro Update literal-escaper version to 0.0.7 2026-01-08 14:10:33 +01:00
rustc_public Rollup merge of #150271 - Jamesbarford:chore/refactor-struct-placeholder-pt2, r=lcnr 2026-01-29 17:47:29 +01:00
rustc_public_bridge Overhaul filename handling for cross-compiler consistency 2025-12-12 07:33:09 +01:00
rustc_query_impl Rollup merge of #152434 - Zalathar:call-query, r=nnethercote 2026-02-12 00:41:08 -05:00
rustc_query_system Auto merge of #152506 - Urgau:rollup-MlGAszj, r=Urgau 2026-02-12 03:44:50 +00:00
rustc_resolve Auto merge of #152517 - jhpratt:rollup-fGRcId6, r=jhpratt 2026-02-12 06:57:59 +00:00
rustc_sanitizers Include assoc const projections in CFI trait object 2026-02-01 22:45:43 +08:00
rustc_serialize Allow internal_features lint in doc tests 2025-11-05 11:25:29 +00:00
rustc_session Remove the fallback bundle 2026-02-08 11:06:42 +01:00
rustc_span Rollup merge of #151142 - SpriteOvO:type-info-adt, r=oli-obk 2026-02-12 00:04:15 +01:00
rustc_symbol_mangling Stabilize assert_matches 2026-02-11 14:13:44 +01:00
rustc_target Rollup merge of #142680 - beetrees:sparc64-float-struct-abi, r=tgross35 2026-02-12 00:41:05 -05:00
rustc_thread_pool change non-canonical clone impl to {*self}, fix some doc comments 2025-12-20 13:46:22 +00:00
rustc_trait_selection Auto merge of #152517 - jhpratt:rollup-fGRcId6, r=jhpratt 2026-02-12 06:57:59 +00:00
rustc_traits implied bounds comments 2026-01-19 16:08:54 +00:00
rustc_transmute Clean up src/dst transmute mess. 2026-01-12 09:22:58 +11:00
rustc_ty_utils Auto merge of #152517 - jhpratt:rollup-fGRcId6, r=jhpratt 2026-02-12 06:57:59 +00:00
rustc_type_ir Uplift Predicate::allow_normalization to rustc_type_ir 2026-02-10 12:26:12 +09:00
rustc_type_ir_macros Provide an extended framework for type visit, for use in rust-analyzer 2025-12-16 01:47:28 +02:00
rustc_windows_rc [win] Use find-msvc-tools instead of cc to find the linker and rc on Windows 2025-09-19 12:00:30 -07:00