Skip to main content

Module backtrace

Module backtrace 

Source
Expand description

Common code for printing backtraces.

Re-exportsΒ§

use crate::backtrace_rs; πŸ”’
use crate::backtrace_rs::BacktraceFmt; πŸ”’
use crate::backtrace_rs::BytesOrWideString; πŸ”’
use crate::backtrace_rs::PrintFmt; πŸ”’
use crate::borrow::Cow; πŸ”’
use crate::path; πŸ”’
use crate::path::Path; πŸ”’
use crate::path::PathBuf; πŸ”’
use crate::sync::Mutex; πŸ”’
use crate::sync::MutexGuard; πŸ”’
use crate::sync::PoisonError; πŸ”’
use crate::env; πŸ”’
use crate::env; πŸ”’
use crate::fmt; πŸ”’
use crate::io; πŸ”’
use crate::io::prelude::*; πŸ”’

StructsΒ§

BacktraceLock πŸ”’

ConstantsΒ§

FULL_BACKTRACE_DEFAULT πŸ”’
MAX_NB_FRAMES πŸ”’
Max number of frames to print.

FunctionsΒ§

__rust_begin_short_backtrace
Fixed frame used to clean the backtrace with RUST_BACKTRACE=1. Note that this is only inline(never) when backtraces in std are enabled, otherwise it’s fine to optimize away.
__rust_end_short_backtrace
Fixed frame used to clean the backtrace with RUST_BACKTRACE=1. Note that this is only inline(never) when backtraces in std are enabled, otherwise it’s fine to optimize away.
_print_fmt πŸ”’ ⚠
Safety
lock πŸ”’
output_filename
Prints the filename of the backtrace frame.
set_image_baseNot (Fortanix and SGX)