Skip to content

Commit 0203cae

Browse files
committed
Show abnormal errors on windows, too.
1 parent b15dc1a commit 0203cae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo/core/compiler/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ fn rustc<'a, 'cfg>(
281281
.downcast_ref::<ProcessError>()
282282
.as_ref()
283283
.and_then(|perr| perr.exit.and_then(|e| e.code()))
284-
.is_none()
284+
!= Some(1)
285285
{
286286
return err;
287287
}

0 commit comments

Comments
 (0)