We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6ab1fa commit 9c97753Copy full SHA for 9c97753
library/panic_abort/src/lib.rs
@@ -65,6 +65,7 @@ pub unsafe extern "C-unwind" fn __rust_start_panic(_payload: *mut &mut dyn BoxMe
65
//
66
// Note: this is the same implementation as in libstd's `abort_internal`
67
unsafe fn abort() -> ! {
68
+ #[allow(unused)]
69
const FAST_FAIL_FATAL_APP_EXIT: usize = 7;
70
cfg_if::cfg_if! {
71
if #[cfg(any(target_arch = "x86", target_arch = "x86_64"))] {
library/std/src/sys/windows/mod.rs
@@ -289,6 +289,7 @@ pub fn dur2timeout(dur: Duration) -> c::DWORD {
289
/// that function for more information on `__fastfail`
290
#[allow(unreachable_code)]
291
pub fn abort_internal() -> ! {
292
293
294
#[cfg(not(miri))] // inline assembly does not work in Miri
295
unsafe {
0 commit comments