Skip to content

Commit 2f4c931

Browse files
committed
rt: Fail the scheduler immediately on task failure in win32
1 parent 7c7559e commit 2f4c931

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/rt/rust_task.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,8 @@ rust_task::fail() {
457457
#else
458458
die();
459459
conclude_failure();
460+
// FIXME: Need unwinding on windows. This will end up aborting
461+
sched->fail();
460462
#endif
461463
}
462464

0 commit comments

Comments
 (0)