rust/compiler
bors 4954a7ef5c Auto merge of #104616 - RalfJung:ctfe-alignment, r=oli-obk,RalfJung
always check alignment during CTFE

We originally disabled alignment checks because they got in the way -- there are some things we do with the interpreter during CTFE which does not correspond to actually running user-written code, but is purely administrative, and we didn't want alignment checks there, so we just disabled them entirely. But with `-Zextra-const-ub-checks` we anyway had to figure out how to disable those alignment checks while doing checks in regular code. So now it is easy to enable CTFE alignment checking by default. Let's see what the perf consequences of that are.

r? `@oli-obk`
2022-12-15 17:04:25 +00:00
..
rustc rustc: Use unix_sigpipe instead of rustc_driver::set_sigpipe_handler 2022-10-02 17:49:36 +02:00
rustc_abi minor code cleanups 2022-12-12 19:49:53 +01:00
rustc_apfloat compiler: remove unnecessary imports and qualified paths 2022-12-10 18:45:34 +01:00
rustc_arena compiler: remove unnecessary imports and qualified paths 2022-12-10 18:45:34 +01:00
rustc_ast more clippy::complexity fixes 2022-12-15 00:09:10 +01:00
rustc_ast_lowering Rollup merge of #105464 - nbdd0121:hir, r=compiler-errors 2022-12-13 19:57:10 +01:00
rustc_ast_passes remove unnecessary uses of clone 2022-12-13 02:06:24 +09:00
rustc_ast_pretty Auto merge of #105160 - nnethercote:rm-Lit-token_lit, r=petrochenkov 2022-12-12 05:16:50 +00:00
rustc_attr rustc_attr remove ref patterns 2022-12-06 14:45:58 +00:00
rustc_baked_icu_data Update crate documentation of rustc_baked_icu_data crate 2022-11-18 14:46:36 -08:00
rustc_borrowck Auto merge of #105657 - oli-obk:mk_projection_ty, r=lcnr 2022-12-15 04:21:25 +00:00
rustc_builtin_macros Rollup merge of #105620 - TaKO8Ki:remove-unnecessary-uses-of-clone, r=compiler-errors 2022-12-13 01:17:10 +01:00
rustc_codegen_cranelift Merge commit '2bb3996244cf1b89878da9e39841e9f6bf061602' into sync_cg_clif-2022-12-14 2022-12-14 19:30:46 +01:00
rustc_codegen_gcc Auto merge of #105252 - bjorn3:codegen_less_pair_values, r=nagisa 2022-12-12 10:38:31 +00:00
rustc_codegen_llvm Auto merge of #105221 - alex:fat-archive-cleanup, r=bjorn3 2022-12-14 06:51:50 +00:00
rustc_codegen_ssa Rollup merge of #105578 - erikdesjardins:addrspacecast, r=bjorn3 2022-12-14 17:17:57 +01:00
rustc_const_eval simplify alignment_check_failed a bit 2022-12-15 16:48:30 +00:00
rustc_data_structures more clippy::complexity fixes 2022-12-15 00:09:10 +01:00
rustc_driver compiler: remove unnecessary imports and qualified paths 2022-12-10 18:45:34 +01:00
rustc_error_codes compiler: remove unnecessary imports and qualified paths 2022-12-10 18:45:34 +01:00
rustc_error_messages Ensure async trait impls are async (or otherwise return an opaque type) 2022-12-14 16:38:21 -08:00
rustc_errors more clippy::complexity fixes 2022-12-15 00:09:10 +01:00
rustc_expand Auto merge of #105160 - nnethercote:rm-Lit-token_lit, r=petrochenkov 2022-12-12 05:16:50 +00:00
rustc_feature Rollup merge of #105109 - rcvalle:rust-kcfi, r=bjorn3 2022-12-10 09:24:43 +01:00
rustc_fs_util Remove useless borrows and derefs 2022-12-01 17:34:43 +00:00
rustc_graphviz Remove useless borrows and derefs 2022-12-01 17:34:43 +00:00
rustc_hir minor code cleanups 2022-12-12 19:49:53 +01:00
rustc_hir_analysis Rollup merge of #104592 - ComputerDruid:async_check, r=compiler-errors 2022-12-15 12:46:00 +01:00
rustc_hir_pretty more clippy::complexity fixes 2022-12-15 00:09:10 +01:00
rustc_hir_typeck Rollup merge of #105715 - estebank:unsatisfied-bounds-label, r=compiler-errors 2022-12-15 12:46:04 +01:00
rustc_incremental compiler: remove unnecessary imports and qualified paths 2022-12-10 18:45:34 +01:00
rustc_index minor code cleanups 2022-12-12 19:49:53 +01:00
rustc_infer Auto merge of #105657 - oli-obk:mk_projection_ty, r=lcnr 2022-12-15 04:21:25 +00:00
rustc_interface compiler: remove unnecessary imports and qualified paths 2022-12-10 18:45:34 +01:00
rustc_lexer minor code cleanups 2022-12-12 19:49:53 +01:00
rustc_lint Ensure no one constructs AliasTys themselves 2022-12-14 15:36:39 +00:00
rustc_lint_defs Make the test actually emit the future incompat lint 2022-12-15 16:54:00 +00:00
rustc_llvm llvm-wrapper: adapt for LLVM API changes 2022-12-11 09:14:50 +00:00
rustc_log Use IsTerminal in rustc_log 2022-10-16 15:10:40 +01:00
rustc_macros more clippy::complexity fixes 2022-12-15 00:09:10 +01:00
rustc_metadata Auto merge of #104986 - compiler-errors:opaques, r=oli-obk 2022-12-14 01:19:24 +00:00
rustc_middle Rollup merge of #105627 - compiler-errors:dyn-auto-suggestable, r=davidtwco 2022-12-15 12:46:01 +01:00
rustc_mir_build Remove one more usage of mk_substs_trait 2022-12-14 15:36:39 +00:00
rustc_mir_dataflow Remove one more usage of mk_substs_trait 2022-12-14 15:36:39 +00:00
rustc_mir_transform Auto merge of #104616 - RalfJung:ctfe-alignment, r=oli-obk,RalfJung 2022-12-15 17:04:25 +00:00
rustc_monomorphize bug! with a better error message for failing Instance::resolve 2022-12-11 19:48:24 +00:00
rustc_parse Rollup merge of #105502 - chenyukang:yukang/fix-105366-impl, r=estebank 2022-12-14 10:31:06 +01:00
rustc_parse_format Assert size of rustc_parse_format::Piece<'_> 2022-12-08 22:50:39 +00:00
rustc_passes Rollup merge of #105267 - compiler-errors:issue-104613, r=oli-obk 2022-12-07 15:39:06 +01:00
rustc_plugin_impl Migrate all diagnostics 2022-10-23 10:09:44 +02:00
rustc_privacy Prevent the creation of TraitRef without dedicated methods 2022-12-14 15:36:39 +00:00
rustc_query_impl Auto merge of #104940 - cjgillot:query-feed-simple, r=oli-obk 2022-11-30 17:20:14 +00:00
rustc_query_system Auto merge of #105233 - mejrs:always_eager, r=estebank 2022-12-14 16:16:50 +00:00
rustc_resolve Rollup merge of #104864 - chenyukang:yukang/fix-104700-binding, r=estebank 2022-12-13 01:17:08 +01:00
rustc_save_analysis compiler: remove unnecessary imports and qualified paths 2022-12-10 18:45:34 +01:00
rustc_serialize compiler: remove unnecessary imports and qualified paths 2022-12-10 18:45:34 +01:00
rustc_session more clippy::complexity fixes 2022-12-15 00:09:10 +01:00
rustc_smir Only keep one version of ImplicitSelfKind. 2022-09-13 19:18:23 +02:00
rustc_span more clippy::complexity fixes 2022-12-15 00:09:10 +01:00
rustc_symbol_mangling Ensure no one constructs AliasTys themselves 2022-12-14 15:36:39 +00:00
rustc_target more clippy::complexity fixes 2022-12-15 00:09:10 +01:00
rustc_trait_selection Auto merge of #105746 - matthiaskrgr:rollup-sz3grbv, r=matthiaskrgr 2022-12-15 14:04:24 +00:00
rustc_traits Ensure no one constructs AliasTys themselves 2022-12-14 15:36:39 +00:00
rustc_transmute Auto merge of #103831 - chenyukang:yukang/fix-103751-ice, r=nagisa 2022-11-05 13:48:30 +00:00
rustc_ty_utils Rollup merge of #105623 - compiler-errors:generator-type-size-fix, r=Nilstrieb 2022-12-15 12:46:00 +01:00
rustc_type_ir more clippy::complexity fixes 2022-12-15 00:09:10 +01:00