1
Fork 0

Revert "std: Switch from libbacktrace to gimli"

This reverts commit 13db3cc1e8.
This commit is contained in:
Mark Rousskov 2020-07-21 21:41:47 -04:00
parent 3c6003c4c0
commit cc4f547cf4
13 changed files with 55 additions and 108 deletions

View file

@ -1,4 +1,3 @@
use crate::backtrace_rs::{self, BacktraceFmt, BytesOrWideString, PrintFmt};
use crate::borrow::Cow;
/// Common code for printing the backtrace in the same way across the different
/// supported platforms.
@ -10,6 +9,8 @@ use crate::path::{self, Path, PathBuf};
use crate::sync::atomic::{self, Ordering};
use crate::sys::mutex::Mutex;
use backtrace_rs::{BacktraceFmt, BytesOrWideString, PrintFmt};
/// Max number of frames to print.
const MAX_NB_FRAMES: usize = 100;