diff options
| author | Andrew Zhogin <44302620+azhogin@users.noreply.github.com> | 2024-10-20 18:18:01 +0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-20 18:18:01 +0700 |
| commit | 37dc4ec8d6519d7ba1ed8a11fb57ff4d1eb995dd (patch) | |
| tree | 34df2eca7cb62ea163f0ae94aa36fccb47999288 /compiler/rustc_session/src | |
| parent | b9c96780b47b0ac3710202df884dfb3580fc4b76 (diff) | |
Limited -Zregparm support (no Rust calling conv) descriptions
Co-authored-by: Jubilee <workingjubilee@gmail.com>
Diffstat (limited to 'compiler/rustc_session/src')
| -rw-r--r-- | compiler/rustc_session/src/options.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/rustc_session/src/options.rs b/compiler/rustc_session/src/options.rs index f4a9d4bf92c..54a4621db24 100644 --- a/compiler/rustc_session/src/options.rs +++ b/compiler/rustc_session/src/options.rs @@ -2002,7 +2002,8 @@ options! { "randomize the layout of types (default: no)"), regparm: Option<u32> = (None, parse_opt_number, [TRACKED], "On x86-32 targets, setting this to 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!"), relax_elf_relocations: Option<bool> = (None, parse_opt_bool, [TRACKED], "whether ELF relocations can be relaxed"), |
