Repository navigation
Remove AbiAlign - #165354
Remove AbiAlign#165354
AbiAlign#165354Conversation
|
Some changes occurred in compiler/rustc_codegen_llvm/src/debuginfo cc @Walnut356 Layout invariants are being changed cc @RalfJung
cc @rust-lang/miri Some changes occurred to the CTFE / Miri interpreter cc @rust-lang/miri
Some changes occurred to MIR optimizations cc @rust-lang/wg-mir-opt Some changes occurred to the CTFE / Miri interpreter cc @rust-lang/miri, @RalfJung, @oli-obk, @lcnr
cc @rust-lang/clippy
cc @bjorn3 This PR changes rustc_public cc @oli-obk, @celinval, @ouz-a, @makai410 Some changes occurred to the CTFE machinery |
|
|
|
At last, the sentence has been carried out. |
|
Hm. Apparently there is a final mention of It was embedded in rustc-dev-guide at src/doc/rustc-dev-guide/src/compiler-debugging.md while talking about using the |
|
We have already made that output out-of-date, so you do not need to fix it. |
|
In any case: Thank you so much! @bors r+ rollup |
…ngjubilee Remove `AbiAlign` The first commit removes the final use of `AbiAlign` (as a field of `LayoutData`), and the second commit removes `AbiAlign` itself. r? @workingjubilee
…ngjubilee Remove `AbiAlign` The first commit removes the final use of `AbiAlign` (as a field of `LayoutData`), and the second commit removes `AbiAlign` itself. r? @workingjubilee
…uwer Rollup of 15 pull requests Successful merges: - #165378 (rustfmt subtree update (v1.12.0)) - #149245 (Make inline attributes apply to the generated `poll` in async fn) - #164304 ([perf] Reuse CanonicalVarKinds if no new variables were added) - #165109 (Avoid building a region map when erasing bound regions) - #163393 (std: Use getexecpath() for current_exe() on OpenBSD) - #164896 (offload: pass the linked device image to the host pass) - #165358 (Reenable some cg_gcc tests that were disabled) - #165371 (Don't use `llvm_type` as the type of `static`s.) - #162232 (Replace `builtin #` with `k#`) - #162608 (Avoid oscillating line wrapping due to symbol indices) - #165029 (Use `MalformedLintAttributeInput` in more places) - #165203 (AIX: Implement TLS destructor guard in std and update dynamic-loading-cdylib test) - #165230 (Fix rigidity assertion ICE) - #165354 (Remove `AbiAlign`) - #165374 (Refactorings in preparation for the move trait)
|
💔 I suspect this PR failed tests as part of a rollup After fixing the problem, consider running a try job for the failed job before re-approving. Link to failure: #165393 (comment) |
|
This pull request was unapproved. This PR was contained in a rollup (#165393), which was unapproved. |
7f36744 to
8249697
Compare
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
|
@bors r=workingjubilee |
|
Ah whoops, didn't think about Miri. |
…uwer Rollup of 7 pull requests Successful merges: - #165416 (fix unsoundness when compiling `[diverging_const; 0]`) - #163217 ([perf] rustdoc: Avoid re-HIR-ty-lowering tys & const args where possible) - #165371 (Don't use `llvm_type` as the type of `static`s.) - #165354 (Remove `AbiAlign`) - #165357 (rustdoc: Fix invalid clean of paths when they end with `self`) - #165401 (Add codegen test for step_by(1) loop vectorization) - #165408 (LLVMRustWriteOutputFile: Check the result of runCodeGenPipeline)
|
The failure was caused by a |
|
Oh, weird! |
Rollup merge of #165354 - beetrees:remove-abi-align, r=workingjubilee Remove `AbiAlign` The first commit removes the final use of `AbiAlign` (as a field of `LayoutData`), and the second commit removes `AbiAlign` itself. r? @workingjubilee
…uwer Rollup of 7 pull requests Successful merges: - rust-lang/rust#165416 (fix unsoundness when compiling `[diverging_const; 0]`) - rust-lang/rust#163217 ([perf] rustdoc: Avoid re-HIR-ty-lowering tys & const args where possible) - rust-lang/rust#165371 (Don't use `llvm_type` as the type of `static`s.) - rust-lang/rust#165354 (Remove `AbiAlign`) - rust-lang/rust#165357 (rustdoc: Fix invalid clean of paths when they end with `self`) - rust-lang/rust#165401 (Add codegen test for step_by(1) loop vectorization) - rust-lang/rust#165408 (LLVMRustWriteOutputFile: Check the result of runCodeGenPipeline)
…1-04. Upstream rust-lang/rust#165354 (81330f91e512) replaced `AbiAlign` with `Align` on `rustc_abi::LayoutData::align` starting in `nightly-2026-11-04`. Gate `LayoutData::for_variant(layout, i).align` access in `generate_enum` with `#[rustversion::before(2026-11-04)]` and `#[rustversion::since(2026-11-04)]`, and use `self.layout.align().bytes()` on `Layout<'tcx>` for single-variant and empty enums. Closes #2818 PiperOrigin-RevId: 1013473598
The first commit removes the final use of
AbiAlign(as a field ofLayoutData), and the second commit removesAbiAlignitself.r? @workingjubilee