mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
Limited -Zregparm support (no Rust calling conv) descriptions
Co-authored-by: Jubilee <workingjubilee@gmail.com>
This commit is contained in:
parent
b9c96780b4
commit
37dc4ec8d6
@ -2002,7 +2002,8 @@ options! {
|
|||||||
"randomize the layout of types (default: no)"),
|
"randomize the layout of types (default: no)"),
|
||||||
regparm: Option<u32> = (None, parse_opt_number, [TRACKED],
|
regparm: Option<u32> = (None, parse_opt_number, [TRACKED],
|
||||||
"On x86-32 targets, setting this to N causes the compiler to pass N arguments \
|
"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!"),
|
It is UNSOUND to link together crates that use different values for this flag!"),
|
||||||
relax_elf_relocations: Option<bool> = (None, parse_opt_bool, [TRACKED],
|
relax_elf_relocations: Option<bool> = (None, parse_opt_bool, [TRACKED],
|
||||||
"whether ELF relocations can be relaxed"),
|
"whether ELF relocations can be relaxed"),
|
||||||
|
@ -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
|
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 UNSOUND to link together crates that use different values for this flag.
|
||||||
It is only supported on `x86`.
|
It is only supported on `x86`.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user