about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAndrew Zhogin <44302620+azhogin@users.noreply.github.com>2024-10-20 18:18:01 +0700
committerGitHub <noreply@github.com>2024-10-20 18:18:01 +0700
commit37dc4ec8d6519d7ba1ed8a11fb57ff4d1eb995dd (patch)
tree34df2eca7cb62ea163f0ae94aa36fccb47999288 /src
parentb9c96780b47b0ac3710202df884dfb3580fc4b76 (diff)
downloadrust-37dc4ec8d6519d7ba1ed8a11fb57ff4d1eb995dd.tar.gz
rust-37dc4ec8d6519d7ba1ed8a11fb57ff4d1eb995dd.zip
Limited -Zregparm support (no Rust calling conv) descriptions
Co-authored-by: Jubilee <workingjubilee@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/doc/unstable-book/src/compiler-flags/regparm.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/unstable-book/src/compiler-flags/regparm.md b/src/doc/unstable-book/src/compiler-flags/regparm.md
index a054d55cd8b..8f311f091c0 100644
--- a/src/doc/unstable-book/src/compiler-flags/regparm.md
+++ b/src/doc/unstable-book/src/compiler-flags/regparm.md
@@ -5,7 +5,7 @@ The tracking issue for this feature is: https://github.com/rust-lang/rust/issues
 ------------------------
 
 Option -Zregparm=N causes the compiler to pass N arguments
-in registers EAX, EDX, and ECX instead of on the stack.
+in registers EAX, EDX, and ECX instead of on the stack for "C", "cdecl", and "stdcall" fn.
 It is UNSOUND to link together crates that use different values for this flag.
 It is only supported on `x86`.