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 4dca297 commit 096edd4Copy full SHA for 096edd4
compiler/rustc_driver/src/lib.rs
@@ -301,7 +301,6 @@ fn run_compiler(
301
RustcDefaultCalls::list_metadata(
302
sess,
303
&*compiler.codegen_backend().metadata_loader(),
304
- &matches,
305
compiler.input(),
306
)
307
})
@@ -619,11 +618,9 @@ impl RustcDefaultCalls {
619
618
pub fn list_metadata(
620
sess: &Session,
621
metadata_loader: &dyn MetadataLoader,
622
- matches: &getopts::Matches,
623
input: &Input,
624
) -> Compilation {
625
- let r = matches.opt_strs("Z");
626
- if r.iter().any(|s| *s == "ls") {
+ if sess.opts.debugging_opts.ls {
627
match *input {
628
Input::File(ref ifile) => {
629
let path = &(*ifile);
0 commit comments