rust/compiler/rustc_ty_utils/src
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
..
layout rename BackendRepr::Vector → SimdVector 2025-02-28 17:17:45 +01:00
abi.rs mitigate MSVC unsoundness by not emitting alignment attributes on win32-msvc targets 2025-04-07 23:30:55 +02:00
assoc.rs Move name field from AssocItem to AssocKind variants. 2025-04-15 08:07:15 +10:00
common_traits.rs Account for UseCloned on expr_use_visitor 2025-03-06 17:58:34 -03:00
consts.rs Implement .use keyword as an alias of clone 2025-03-06 17:58:32 -03:00
errors.rs Implement .use keyword as an alias of clone 2025-03-06 17:58:32 -03:00
implied_bounds.rs Auto merge of #139552 - matthiaskrgr:rollup-b194mk8, r=matthiaskrgr 2025-04-09 05:39:18 +00:00
instance.rs add TypingMode::Borrowck 2025-04-03 11:13:10 +02:00
layout.rs Initial UnsafePinned/UnsafeUnpin impl [Part 1: Libs] 2025-04-13 01:11:04 -04:00
lib.rs More 2025-04-23 15:09:25 +00:00
needs_drop.rs Greatly simplify lifetime captures in edition 2024 2025-02-22 22:24:52 +00:00
opaque_types.rs More 2025-04-23 15:09:25 +00:00
representability.rs rename BitSet to DenseBitSet 2025-01-11 11:34:01 +00:00
sig_types.rs Restrict some queries by def-kind more 2025-04-07 18:10:28 +00:00
stalled_generators.rs More 2025-04-23 15:09:25 +00:00
structural_match.rs TypingMode 🤔 2024-10-29 17:01:24 +01:00
ty.rs Use a query rather than recomputing the tail repeatedly 2025-04-09 20:26:58 +00:00