File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ pub const TR_OK: i32 = 50;
1919// On Windows we use __fastfail to abort, which is documented to use this
2020// exception code.
2121#[ cfg( windows) ]
22- const STATUS_ABORTED : i32 = 0xC0000409u32 as i32 ;
22+ const STATUS_FAIL_FAST_EXCEPTION : i32 = 0xC0000409u32 as i32 ;
2323
2424// On Zircon (the Fuchsia kernel), an abort from userspace calls the
2525// LLVM implementation of __builtin_trap(), e.g., ud2 on x86, which
@@ -104,7 +104,7 @@ pub fn get_result_from_exit_code(
104104 let result = match status. code ( ) {
105105 Some ( TR_OK ) => TestResult :: TrOk ,
106106 #[ cfg( windows) ]
107- Some ( STATUS_ABORTED ) => TestResult :: TrFailed ,
107+ Some ( STATUS_FAIL_FAST_EXCEPTION ) => TestResult :: TrFailed ,
108108 #[ cfg( unix) ]
109109 None => match status. signal ( ) {
110110 Some ( libc:: SIGABRT ) => TestResult :: TrFailed ,
You can’t perform that action at this time.
0 commit comments