inline format!() args up to and including rustc_codegen_llvm
This commit is contained in:
parent
2e0136a131
commit
3ce90b1649
72 changed files with 411 additions and 481 deletions
|
@ -298,21 +298,21 @@ impl CodegenBackend for LlvmCodegenBackend {
|
|||
"ropi-rwpi",
|
||||
"default",
|
||||
] {
|
||||
writeln!(out, " {}", name);
|
||||
writeln!(out, " {name}");
|
||||
}
|
||||
writeln!(out);
|
||||
}
|
||||
PrintKind::CodeModels => {
|
||||
writeln!(out, "Available code models:");
|
||||
for name in &["tiny", "small", "kernel", "medium", "large"] {
|
||||
writeln!(out, " {}", name);
|
||||
writeln!(out, " {name}");
|
||||
}
|
||||
writeln!(out);
|
||||
}
|
||||
PrintKind::TlsModels => {
|
||||
writeln!(out, "Available TLS models:");
|
||||
for name in &["global-dynamic", "local-dynamic", "initial-exec", "local-exec"] {
|
||||
writeln!(out, " {}", name);
|
||||
writeln!(out, " {name}");
|
||||
}
|
||||
writeln!(out);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue