Skip to content
Myr

Fix alloc imports for old backtrace implementation

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Tolnay · committed by David Tolnay · parent 2b7d969 · Browse files · 1 file+2 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−1 removed

  • other:+2 added−1 removed

1 file+2 added−1 removed

modified:src/backtrace.rs+2 added-1 removed
63 unmodified lines
64}6566#[cfg(all(not(std_backtrace), feature = "backtrace"))]67mod capture {68 use alloc::borrow::Cow;68 use alloc::borrow::{Cow, ToOwned as _};69 use alloc::vec::Vec;70 use backtrace::{BacktraceFmt, BytesOrWideString, Frame, PrintFmt, SymbolName};71 use core::cell::UnsafeCell;72 use core::fmt::{self, Debug, Display};73 use core::sync::atomic::{AtomicUsize, Ordering};
333 unmodified lines