Improve the help message for an invalid calling convention
This commit is contained in:
parent
89e4e1f1b3
commit
9a206a78eb
17 changed files with 300 additions and 214 deletions
|
@ -538,6 +538,7 @@ pub enum PrintRequest {
|
|||
TargetLibdir,
|
||||
CrateName,
|
||||
Cfg,
|
||||
CallingConventions,
|
||||
TargetList,
|
||||
TargetCPUs,
|
||||
TargetFeatures,
|
||||
|
@ -1354,8 +1355,8 @@ pub fn rustc_short_optgroups() -> Vec<RustcOptGroup> {
|
|||
"",
|
||||
"print",
|
||||
"Compiler information to print on stdout",
|
||||
"[crate-name|file-names|sysroot|target-libdir|cfg|target-list|\
|
||||
target-cpus|target-features|relocation-models|code-models|\
|
||||
"[crate-name|file-names|sysroot|target-libdir|cfg|calling-conventions|\
|
||||
target-list|target-cpus|target-features|relocation-models|code-models|\
|
||||
tls-models|target-spec-json|native-static-libs|stack-protector-strategies|\
|
||||
link-args]",
|
||||
),
|
||||
|
@ -1794,6 +1795,7 @@ fn collect_print_requests(
|
|||
"sysroot" => PrintRequest::Sysroot,
|
||||
"target-libdir" => PrintRequest::TargetLibdir,
|
||||
"cfg" => PrintRequest::Cfg,
|
||||
"calling-conventions" => PrintRequest::CallingConventions,
|
||||
"target-list" => PrintRequest::TargetList,
|
||||
"target-cpus" => PrintRequest::TargetCPUs,
|
||||
"target-features" => PrintRequest::TargetFeatures,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue