Skip to content

Commit 99534b9

Browse files
committed
StripDebugInfo can be disabled by #[optimize(none)]
1 parent e060723 commit 99534b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_mir_transform/src/strip_debuginfo.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ impl<'tcx> crate::MirPass<'tcx> for StripDebugInfo {
3333
}
3434

3535
fn is_required(&self) -> bool {
36-
true
36+
false
3737
}
3838
}

0 commit comments

Comments
 (0)