Skip to content

Commit 060f775

Browse files
azhoginRalfJung
andauthored
regparam flag description improved
Co-authored-by: Ralf Jung <[email protected]>
1 parent d6a6c57 commit 060f775

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

compiler/rustc_session/src/options.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1980,7 +1980,8 @@ options! {
19801980
"randomize the layout of types (default: no)"),
19811981
regparm: Option<u32> = (None, parse_opt_number, [TRACKED],
19821982
"On x86-32 targets, the regparm N causes the compiler to pass N arguments \
1983-
in registers EAX, EDX, and ECX instead of on the stack."),
1983+
in registers EAX, EDX, and ECX instead of on the stack.\
1984+
It is UNSOUND to link together crates that use different values for this flag!"),
19841985
relax_elf_relocations: Option<bool> = (None, parse_opt_bool, [TRACKED],
19851986
"whether ELF relocations can be relaxed"),
19861987
remap_cwd_prefix: Option<PathBuf> = (None, parse_opt_pathbuf, [TRACKED],

0 commit comments

Comments
 (0)