We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c752ee5 commit 673c1b6Copy full SHA for 673c1b6
compiler/rustc_driver/src/lib.rs
@@ -308,7 +308,6 @@ fn run_compiler(
308
RustcDefaultCalls::list_metadata(
309
sess,
310
&*compiler.codegen_backend().metadata_loader(),
311
- &matches,
312
compiler.input(),
313
)
314
})
@@ -626,11 +625,9 @@ impl RustcDefaultCalls {
626
625
pub fn list_metadata(
627
sess: &Session,
628
metadata_loader: &dyn MetadataLoader,
629
- matches: &getopts::Matches,
630
input: &Input,
631
) -> Compilation {
632
- let r = matches.opt_strs("Z");
633
- if r.iter().any(|s| *s == "ls") {
+ if sess.opts.debugging_opts.ls {
634
match *input {
635
Input::File(ref ifile) => {
636
let path = &(*ifile);
0 commit comments