rust/compiler
Matthias Krüger a8ebfb256a
Rollup merge of #139261 - RalfJung:msvc-align-mitigation, r=oli-obk
mitigate MSVC alignment issue on x86-32

This implements mitigation for https://github.com/rust-lang/rust/issues/112480 by stopping to emit `align` attributes on loads and function arguments when building for a win32 MSVC target. MSVC is known to not properly align `u64` and similar types, and claiming to LLVM that everything is properly aligned increases the chance that this will cause problems.

Of course, the misalignment is still a bug, but we can't fix that bug, only MSVC can.

Also add an errata note to the platform support page warning users about this known problem.

try-job: `i686-msvc*`
2025-04-24 11:40:35 +02:00
..
rustc
rustc_abi Initial UnsafePinned/UnsafeUnpin impl [Part 1: Libs] 2025-04-13 01:11:04 -04:00
rustc_arena
rustc_ast Auto merge of #139897 - nnethercote:rm-OpenDelim-CloseDelim, r=petrochenkov 2025-04-22 01:15:06 +00:00
rustc_ast_ir
rustc_ast_lowering Use is_lang_item and as_lang_item instead of handrolling their logic 2025-04-22 11:02:37 +00:00
rustc_ast_passes Rollup merge of #139615 - nnethercote:rm-name_or_empty, r=jdonszelmann 2025-04-18 05:16:29 +02:00
rustc_ast_pretty Remove token::{Open,Close}Delim. 2025-04-21 07:35:56 +10:00
rustc_attr_data_structures Remove #[rustc_macro_edition_2021]. 2025-04-20 11:15:46 +02:00
rustc_attr_parsing Auto merge of #139897 - nnethercote:rm-OpenDelim-CloseDelim, r=petrochenkov 2025-04-22 01:15:06 +00:00
rustc_baked_icu_data
rustc_borrowck Rollup merge of #140160 - oli-obk:lang-items, r=jieyouxu 2025-04-23 00:43:07 +00:00
rustc_builtin_macros Rollup merge of #140104 - Shourya742:2025-04-21-auto-diff-fails-on-impl-block, r=ZuseZ4 2025-04-22 15:24:07 +00:00
rustc_codegen_cranelift Auto merge of #139309 - RalfJung:abi_unsupported_vector_types, r=fee1-dead,traviscross 2025-04-24 00:44:40 +00:00
rustc_codegen_gcc Rollup merge of #137953 - RalfJung:simd-intrinsic-masks, r=WaffleLapkin 2025-04-20 13:02:48 +00:00
rustc_codegen_llvm Rollup merge of #139261 - RalfJung:msvc-align-mitigation, r=oli-obk 2025-04-24 11:40:35 +02:00
rustc_codegen_ssa Rollup merge of #137953 - RalfJung:simd-intrinsic-masks, r=WaffleLapkin 2025-04-20 13:02:48 +00:00
rustc_const_eval add comment for "Other" case 2025-04-22 11:40:48 +02:00
rustc_data_structures Switch to diagnostic::on_unimplemented 2025-04-14 01:38:18 +02:00
rustc_driver Remove recursion_limit increases. 2025-04-02 16:25:27 +11:00
rustc_driver_impl Auto merge of #124141 - nnethercote:rm-Nonterminal-and-TokenKind-Interpolated, r=petrochenkov 2025-04-14 03:56:55 +00:00
rustc_error_codes stabilize naked_functions 2025-04-20 11:18:38 +02:00
rustc_error_messages update cfgs 2025-04-09 12:29:59 +01:00
rustc_errors Move eager translation to a method on Diag 2025-04-16 21:38:59 -04:00
rustc_expand Auto merge of #139897 - nnethercote:rm-OpenDelim-CloseDelim, r=petrochenkov 2025-04-22 01:15:06 +00:00
rustc_feature Rollup merge of #134213 - folkertdev:stabilize-naked-functions, r=tgross35,Amanieu,traviscross 2025-04-21 18:53:15 +00:00
rustc_fluent_macro Replace proc_macro::SourceFile by Span::{file, local_file}. 2025-04-11 15:07:08 +02:00
rustc_fs_util
rustc_graphviz
rustc_hashes
rustc_hir Rollup merge of #139615 - nnethercote:rm-name_or_empty, r=jdonszelmann 2025-04-18 05:16:29 +02:00
rustc_hir_analysis Use is_lang_item and as_lang_item instead of handrolling their logic 2025-04-22 11:02:37 +00:00
rustc_hir_pretty Fix HIR pretty-printing of fns with just a variadic arg. 2025-04-15 10:41:10 +10:00
rustc_hir_typeck Auto merge of #138845 - compiler-errors:stall-generators, r=lcnr 2025-04-23 21:35:15 +00:00
rustc_incremental Replace infallible name_or_empty methods with fallible name methods. 2025-04-17 09:50:52 +10:00
rustc_index Add copy_within to IndexSlice 2025-04-15 10:44:28 -04:00
rustc_index_macros In rustc_mir_tranform, iterate over index newtypes instead of ints 2025-04-12 11:53:07 +00:00
rustc_infer More 2025-04-23 15:09:25 +00:00
rustc_interface Rollup merge of #139042 - compiler-errors:do-not-optimize-switchint, r=saethlin 2025-04-19 19:30:46 +00:00
rustc_lexer Replace rustc_lexer/unescape with rustc-literal-escaper crate 2025-04-04 14:44:45 +02:00
rustc_lint Auto merge of #139309 - RalfJung:abi_unsupported_vector_types, r=fee1-dead,traviscross 2025-04-24 00:44:40 +00:00
rustc_lint_defs make abi_unsupported_vector_types a hard error 2025-04-20 11:34:56 +02:00
rustc_llvm Update the minimum external LLVM to 19 2025-04-05 11:44:38 -07:00
rustc_log
rustc_macros Move eager translation to a method on Diag 2025-04-16 21:38:59 -04:00
rustc_metadata Rollup merge of #139834 - ChrisDenton:spf, r=WaffleLapkin 2025-04-19 15:09:35 +00:00
rustc_middle Auto merge of #138845 - compiler-errors:stall-generators, r=lcnr 2025-04-23 21:35:15 +00:00
rustc_mir_build remove a couple clones 2025-04-20 18:58:46 +02:00
rustc_mir_dataflow Remove unnecessary lifetime on ResultsVisitor. 2025-04-22 10:08:05 +10:00
rustc_mir_transform Rollup merge of #139261 - RalfJung:msvc-align-mitigation, r=oli-obk 2025-04-24 11:40:35 +02:00
rustc_monomorphize Auto merge of #139309 - RalfJung:abi_unsupported_vector_types, r=fee1-dead,traviscross 2025-04-24 00:44:40 +00:00
rustc_next_trait_solver More 2025-04-23 15:09:25 +00:00
rustc_parse Auto merge of #140180 - ChrisDenton:rollup-5pvs08u, r=ChrisDenton 2025-04-23 15:12:33 +00:00
rustc_parse_format Update rustc-literal-escaper version to 0.0.2 2025-04-04 22:26:10 +02:00
rustc_passes stabilize naked_functions 2025-04-20 11:18:38 +02:00
rustc_pattern_analysis Move eager translation to a method on Diag 2025-04-16 21:38:59 -04:00
rustc_privacy Remove recursion_limit increases. 2025-04-02 16:25:27 +11:00
rustc_query_impl Auto merge of #124141 - nnethercote:rm-Nonterminal-and-TokenKind-Interpolated, r=petrochenkov 2025-04-14 03:56:55 +00:00
rustc_query_system Rollup merge of #139236 - Zoxc:anon-counter, r=davidtwco 2025-04-17 00:14:24 +02:00
rustc_resolve Remove #[rustc_macro_edition_2021]. 2025-04-20 11:15:46 +02:00
rustc_sanitizers Rollup merge of #139669 - nnethercote:overhaul-AssocItem, r=oli-obk 2025-04-15 15:47:27 +10:00
rustc_serialize Bump FileEncoder buffer size to 64 kB 2025-04-10 18:52:03 +02:00
rustc_session Rollup merge of #140077 - xizheyin:issue-139805, r=jieyouxu 2025-04-22 01:22:12 +00:00
rustc_smir Rollup merge of #139669 - nnethercote:overhaul-AssocItem, r=oli-obk 2025-04-15 15:47:27 +10:00
rustc_span Remove #[rustc_macro_edition_2021]. 2025-04-20 11:15:46 +02:00
rustc_symbol_mangling Rollup merge of #139848 - nnethercote:kw-Empty-5, r=compiler-errors 2025-04-15 21:16:05 +02:00
rustc_target Rollup merge of #139261 - RalfJung:msvc-align-mitigation, r=oli-obk 2025-04-24 11:40:35 +02:00
rustc_trait_selection Auto merge of #138845 - compiler-errors:stall-generators, r=lcnr 2025-04-23 21:35:15 +00:00
rustc_traits re-use sized fast path 2025-04-09 10:42:26 +00:00
rustc_transmute transmutability: Mark edges by ranges, not values 2025-04-23 11:45:00 -07:00
rustc_ty_utils Rollup merge of #139261 - RalfJung:msvc-align-mitigation, r=oli-obk 2025-04-24 11:40:35 +02:00
rustc_type_ir More 2025-04-23 15:09:25 +00:00
rustc_type_ir_macros Split TypeFolder and FallibleTypeFolder 2025-04-15 18:30:35 +00:00
stable_mir let rustc_smir host stable_mir for refactoring 2025-04-05 18:23:07 +08:00