about summary refs log tree commit diff
diff options
context:
space:
mode:
authorerikdesjardins <erikdesjardins@users.noreply.github.com>2024-03-09 12:49:35 -0500
committerGitHub <noreply@github.com>2024-03-09 12:49:35 -0500
commit549eac374ff33bc249e4098fdb6179510133258c (patch)
tree964c9856058b3aecb55ddfd2d915237788666e64
parent38324a1f4fd131112ece8b9e1c995ad364b0ca17 (diff)
downloadrust-549eac374ff33bc249e4098fdb6179510133258c.tar.gz
rust-549eac374ff33bc249e4098fdb6179510133258c.zip
once byval abi is computed, the target abi isn't used further
Co-authored-by: Ralf Jung <post@ralfj.de>
-rw-r--r--compiler/rustc_target/src/abi/call/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_target/src/abi/call/mod.rs b/compiler/rustc_target/src/abi/call/mod.rs
index d326cff85c5..bf09a1f6a0a 100644
--- a/compiler/rustc_target/src/abi/call/mod.rs
+++ b/compiler/rustc_target/src/abi/call/mod.rs
@@ -60,7 +60,7 @@ pub enum PassMode {
     /// attribute. The `byval` argument will use a byte array with the same size as the Rust type
     /// (which ensures that padding is preserved and that we do not rely on LLVM's struct layout),
     /// and will use the alignment specified in `attrs.pointee_align` (if `Some`) or the type's
-    /// alignment, depending on the target's ABI. This means that the alignment will not always
+    /// alignment (if `None`). This means that the alignment will not always
     /// match the Rust type's alignment; see documentation of `make_indirect_byval` for more info.
     ///
     /// `on_stack` cannot be true for unsized arguments, i.e., when `meta_attrs` is `Some`.