enable on opt level 1
This commit is contained in:
parent
099cb5ad8a
commit
728fb05f1f
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ pub struct ConstProp;
|
|||
|
||||
impl<'tcx> MirPass<'tcx> for ConstProp {
|
||||
fn is_enabled(&self, sess: &rustc_session::Session) -> bool {
|
||||
sess.mir_opt_level() >= 2
|
||||
sess.mir_opt_level() >= 1
|
||||
}
|
||||
|
||||
#[instrument(skip(self, tcx), level = "debug")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue