diff options
| author | Jubilee Young <workingjubilee@gmail.com> | 2025-02-18 19:27:26 -0800 |
|---|---|---|
| committer | Jubilee Young <workingjubilee@gmail.com> | 2025-02-20 19:55:29 -0800 |
| commit | 46f7a7d378972b4034118f798657a6d35091a4ca (patch) | |
| tree | 1c112fa7c7a5323a387abc046685369977e12df5 | |
| parent | 79f41c773aaad6a10c2c752d223bd5aba0371f9b (diff) | |
| download | rust-46f7a7d378972b4034118f798657a6d35091a4ca.tar.gz rust-46f7a7d378972b4034118f798657a6d35091a4ca.zip | |
rust-analyzer: use new function in (incorrect) layout computation
This is only to fix the build.
| -rw-r--r-- | src/tools/rust-analyzer/crates/hir-ty/src/layout.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/rust-analyzer/crates/hir-ty/src/layout.rs b/src/tools/rust-analyzer/crates/hir-ty/src/layout.rs index f5a7b658123..a72bcad50a0 100644 --- a/src/tools/rust-analyzer/crates/hir-ty/src/layout.rs +++ b/src/tools/rust-analyzer/crates/hir-ty/src/layout.rs @@ -179,7 +179,7 @@ fn layout_of_simd_ty( .size .checked_mul(e_len, dl) .ok_or(LayoutError::BadCalc(LayoutCalculatorError::SizeOverflow))?; - let align = dl.vector_align(size); + let align = dl.llvmlike_vector_align(size); let size = size.align_to(align.abi); // Compute the placement of the vector fields: |
