Skip to content

Commit 549eac3

Browse files
once byval abi is computed, the target abi isn't used further
Co-authored-by: Ralf Jung <[email protected]>
1 parent 38324a1 commit 549eac3

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_target/src/abi/call

1 file changed

+1
-1
lines changed

compiler/rustc_target/src/abi/call/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ pub enum PassMode {
6060
/// attribute. The `byval` argument will use a byte array with the same size as the Rust type
6161
/// (which ensures that padding is preserved and that we do not rely on LLVM's struct layout),
6262
/// and will use the alignment specified in `attrs.pointee_align` (if `Some`) or the type's
63-
/// alignment, depending on the target's ABI. This means that the alignment will not always
63+
/// alignment (if `None`). This means that the alignment will not always
6464
/// match the Rust type's alignment; see documentation of `make_indirect_byval` for more info.
6565
///
6666
/// `on_stack` cannot be true for unsized arguments, i.e., when `meta_attrs` is `Some`.

0 commit comments

Comments
 (0)