We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e30490d commit 7d5c794Copy full SHA for 7d5c794
compiler/rustc_driver/src/lib.rs
@@ -1068,7 +1068,11 @@ pub fn handle_options(args: &[String]) -> Option<getopts::Matches> {
1068
1069
if cg_flags.iter().any(|x| *x == "passes=list") {
1070
let backend_name = debug_flags.iter().find_map(|x| {
1071
- if x.starts_with("codegen-backend=") { Some(&x["codegen-backends=".len()..]) } else { None }
+ if x.starts_with("codegen-backend=") {
1072
+ Some(&x["codegen-backends=".len()..])
1073
+ } else {
1074
+ None
1075
+ }
1076
});
1077
get_codegen_backend(&None, backend_name).print_passes();
1078
return None;
0 commit comments