Skip to content

Commit

Permalink
Auto merge of rust-lang#98975 - jyn514:unstable_opts, r=wesleywiser
Browse files Browse the repository at this point in the history
Rename `debugging_opts` to `unstable_opts`

This is no longer used only for debugging options (e.g. `-Zoutput-width`, `-Zallow-features`).
Rename it to be more clear.

cc https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/Codegen.20options.20.2F.20debugging.20options

r? `@Amanieu` cc `@nikic` `@joshtriplett`
  • Loading branch information
bors committed Jul 14, 2022
2 parents eee0bf4 + 73f3294 commit 44f25ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/driver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ impl rustc_driver::Callbacks for ClippyCallbacks {
// run on the unoptimized MIR. On the other hand this results in some false negatives. If
// MIR passes can be enabled / disabled separately, we should figure out, what passes to
// use for Clippy.
config.opts.debugging_opts.mir_opt_level = Some(0);
config.opts.unstable_opts.mir_opt_level = Some(0);
}
}

Expand Down

0 comments on commit 44f25ba

Please sign in to comment.