Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit d2ce150

Browse files
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‎

Lines changed: 1 addition & 2 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /