diff --git a/compiler/rustc_session/src/options.rs b/compiler/rustc_session/src/options.rs index acc9bdad2b22..29c18c215530 100644 --- a/compiler/rustc_session/src/options.rs +++ b/compiler/rustc_session/src/options.rs @@ -1980,7 +1980,8 @@ options! { "randomize the layout of types (default: no)"), regparm: Option = (None, parse_opt_number, [TRACKED], "On x86-32 targets, the regparm 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.\ + It is UNSOUND to link together crates that use different values for this flag!"), relax_elf_relocations: Option = (None, parse_opt_bool, [TRACKED], "whether ELF relocations can be relaxed"), remap_cwd_prefix: Option = (None, parse_opt_pathbuf, [TRACKED],