Skip to content

Commit 3d6db4d

Browse files
committed
improve internal fastfail explainer
1 parent b0595ef commit 3d6db4d

File tree

1 file changed

+2
-3
lines changed
  • library/std/src/sys/pal/windows

1 file changed

+2
-3
lines changed

library/std/src/sys/pal/windows/mod.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -330,9 +330,8 @@ pub fn dur2timeout(dur: Duration) -> u32 {
330330
///
331331
/// In Windows 8 and later, this will terminate the process immediately without
332332
/// running any in-process exception handlers. In earlier versions of Windows,
333-
/// this sequence of instructions will be treated as an access violation,
334-
/// terminating the process but without necessarily bypassing all exception
335-
/// handlers.
333+
/// this sequence of instructions will be treated as an access violation, which
334+
/// will still terminate the process but might run some exception handlers.
336335
///
337336
/// https://docs.microsoft.com/en-us/cpp/intrinsics/fastfail
338337
#[cfg(not(miri))] // inline assembly does not work in Miri

0 commit comments

Comments
 (0)