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
|
@ -742,6 +742,11 @@ fn print_crate_info(
|
|||
println!("{}", cfg);
|
||||
}
|
||||
}
|
||||
CallingConventions => {
|
||||
let mut calling_conventions = rustc_target::spec::abi::all_names();
|
||||
calling_conventions.sort_unstable();
|
||||
println!("{}", calling_conventions.join("\n"));
|
||||
}
|
||||
RelocationModels
|
||||
| CodeModels
|
||||
| TlsModels
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue