Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit c0ad988

Browse files
osa1bjorn3
andauthored
Update src/pretty_clif.rs
Co-authored-by: bjorn3 <[email protected]>
1 parent 6dd0246 commit c0ad988

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pretty_clif.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ pub(crate) fn write_clif_file<'tcx>(
208208
mut clif_comments: &CommentWriter,
209209
value_ranges: Option<&cranelift_codegen::ValueLabelsRanges>,
210210
) {
211-
if !(cfg!(debug_assertions) || tcx.sess.opts.output_types.contains_key(&OutputType::LlvmAssembly)) {
211+
if !cfg!(debug_assertions) && !tcx.sess.opts.output_types.contains_key(&OutputType::LlvmAssembly) {
212212
return;
213213
}
214214

0 commit comments

Comments
 (0)