rust/compiler
Ralf Jung 19e287060d remove const-support for align_offset
Operations like is_aligned would return actively wrong results at compile-time,
i.e. calling it on the same pointer at compiletime and runtime could yield
different results. That's no good.

Instead of having hacks to make align_offset kind-of work in const-eval, just
use const_eval_select in the few places where it makes sense, which also ensures
those places are all aware they need to make sure the fallback behavior is
consistent.
2024-11-03 17:00:44 +01:00
..
rustc
rustc_abi compiler: Lift rustc_target::spec::abi::Abi to rustc_abi::ExternAbi 2024-10-30 22:38:49 -07:00
rustc_arena
rustc_ast Improve the missing_abi lint. 2024-10-31 10:55:45 +01:00
rustc_ast_ir
rustc_ast_lowering Encode cross-crate opaque type origin 2024-10-31 01:35:13 +00:00
rustc_ast_passes Improve the missing_abi lint. 2024-10-31 10:55:45 +01:00
rustc_ast_pretty
rustc_attr
rustc_baked_icu_data
rustc_borrowck Auto merge of #132301 - compiler-errors:adjust, r=lcnr 2024-10-31 10:17:49 +00:00
rustc_builtin_macros
rustc_codegen_cranelift Rename target triple to target tuple in many places in the compiler 2024-11-02 21:29:59 +01:00
rustc_codegen_gcc Rename target triple to target tuple in many places in the compiler 2024-11-02 21:29:59 +01:00
rustc_codegen_llvm Rename target triple to target tuple in many places in the compiler 2024-11-02 21:29:59 +01:00
rustc_codegen_ssa Rename target triple to target tuple in many places in the compiler 2024-11-02 21:29:59 +01:00
rustc_const_eval remove const-support for align_offset 2024-11-03 17:00:44 +01:00
rustc_data_structures
rustc_driver
rustc_driver_impl Add --print host-triple 2024-11-02 21:29:59 +01:00
rustc_error_codes Reject generic self types. 2024-10-30 10:48:08 +00:00
rustc_error_messages
rustc_errors Rename target triple to target tuple in many places in the compiler 2024-11-02 21:29:59 +01:00
rustc_expand Rollup merge of #132332 - nnethercote:use-token_descr-more, r=estebank 2024-10-30 06:40:36 +01:00
rustc_feature Rollup merge of #131984 - dingxiangfei2009:stabilize-if-let-rescope, r=traviscross,lcnr 2024-10-29 18:38:57 +01:00
rustc_fluent_macro
rustc_fs_util
rustc_graphviz
rustc_hir remove const-support for align_offset 2024-11-03 17:00:44 +01:00
rustc_hir_analysis Rollup merge of #132466 - cjgillot:opaque-late, r=compiler-errors 2024-11-02 08:33:14 +01:00
rustc_hir_pretty compiler: Switch to rustc_abi in hir_pretty, lint_defs, and mir_build 2024-10-30 22:38:49 -07:00
rustc_hir_typeck Rename target triple to target tuple in many places in the compiler 2024-11-02 21:29:59 +01:00
rustc_incremental
rustc_index
rustc_index_macros
rustc_infer Remove or fix some FIXME(async_closure) 2024-11-02 03:33:31 +00:00
rustc_interface Rename target triple to target tuple in many places in the compiler 2024-11-02 21:29:59 +01:00
rustc_lexer
rustc_lint Rollup merge of #132453 - Urgau:non_local_defs-impl-mod-transparent, r=jieyouxu 2024-11-02 08:33:13 +01:00
rustc_lint_defs compiler: Switch to rustc_abi in hir_pretty, lint_defs, and mir_build 2024-10-30 22:38:49 -07:00
rustc_llvm Remove support for -Zprofile (gcov-style coverage instrumentation) 2024-10-31 09:09:25 +11:00
rustc_log
rustc_macros
rustc_metadata Rename target triple to target tuple in many places in the compiler 2024-11-02 21:29:59 +01:00
rustc_middle Fix type shortening writing to file 2024-11-02 03:08:04 +00:00
rustc_mir_build Show actual MIR when MIR building forgot to terminate block 2024-11-01 11:24:14 +01:00
rustc_mir_dataflow Remove ValueAnalysis and ValueAnalysisWrapper. 2024-10-31 12:46:26 +11:00
rustc_mir_transform Rollup merge of #132403 - lcnr:typing-mode, r=compiler-errors 2024-10-31 17:50:43 -07:00
rustc_monomorphize
rustc_next_trait_solver Merge HostPolarity and BoundConstness 2024-10-30 16:23:16 +00:00
rustc_parse Improve the missing_abi lint. 2024-10-31 10:55:45 +01:00
rustc_parse_format
rustc_passes Rollup merge of #132246 - workingjubilee:campaign-on-irform, r=compiler-errors 2024-10-30 14:01:37 -07:00
rustc_pattern_analysis
rustc_privacy Merge HostPolarity and BoundConstness 2024-10-30 16:23:16 +00:00
rustc_query_impl
rustc_query_system
rustc_resolve Review comments. 2024-10-30 16:20:49 +00:00
rustc_sanitizers
rustc_serialize
rustc_session Add --print host-triple 2024-11-02 21:29:59 +01:00
rustc_smir compiler: rustc_abi::Abi => BackendRepr 2024-10-29 14:56:00 -07:00
rustc_span remove const-support for align_offset 2024-11-03 17:00:44 +01:00
rustc_symbol_mangling
rustc_target Rename target triple to target tuple in many places in the compiler 2024-11-02 21:29:59 +01:00
rustc_trait_selection Account for negative bounds in E0277 note and suggestion 2024-11-02 03:08:04 +00:00
rustc_traits
rustc_transmute
rustc_ty_utils Auto merge of #131186 - compiler-errors:precise-capturing-borrowck, r=estebank 2024-10-31 03:36:06 +00:00
rustc_type_ir stop using ParamEnv::reveal while handling MIR 2024-10-31 14:55:53 +01:00
rustc_type_ir_macros
stable_mir