diff options
| author | Chris Denton <christophersdenton@gmail.com> | 2022-04-04 06:08:41 +0100 |
|---|---|---|
| committer | Chris Denton <christophersdenton@gmail.com> | 2022-04-05 08:17:48 +0100 |
| commit | d2ce150c8c28b69bf406deb0920fcb4ca0d950ae (patch) | |
| tree | 2d1c8e22bc88075725eade8265140556850b0f53 /library/std | |
| parent | 88c05edc9deb6def7ed4b1370cca6ddb79da8424 (diff) | |
| download | rust-d2ce150c8c28b69bf406deb0920fcb4ca0d950ae.tar.gz rust-d2ce150c8c28b69bf406deb0920fcb4ca0d950ae.zip | |
Use rtabort
Diffstat (limited to 'library/std')
| -rw-r--r-- | library/std/src/sys/windows/handle.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/library/std/src/sys/windows/handle.rs b/library/std/src/sys/windows/handle.rs index 2a0bffd6a8e..ef9a8bd6900 100644 --- a/library/std/src/sys/windows/handle.rs +++ b/library/std/src/sys/windows/handle.rs @@ -299,8 +299,7 @@ impl Handle { // Doing otherwise means that the buffer may be read and the stack // written to after this function returns. c::STATUS_PENDING => { - eprintln!("I/O error: operation failed to complete synchronously"); - crate::process::abort(); + rtabort!("I/O error: operation failed to complete synchronously"); } // Success! |
