Skip to content

Commit d2ce150

Browse files
committed
Use rtabort
1 parent 88c05ed commit d2ce150

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

library/std/src/sys/windows/handle.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -299,8 +299,7 @@ impl Handle {
299299
// Doing otherwise means that the buffer may be read and the stack
300300
// written to after this function returns.
301301
c::STATUS_PENDING => {
302-
eprintln!("I/O error: operation failed to complete synchronously");
303-
crate::process::abort();
302+
rtabort!("I/O error: operation failed to complete synchronously");
304303
}
305304

306305
// Success!

0 commit comments

Comments
 (0)