Change name of lang_start_real
to lang_start_internal
Also remove `'static` from `__rust_begin_short_backtrace`
This commit is contained in:
parent
7dfec34a20
commit
81e375dba5
2 changed files with 4 additions and 5 deletions
|
@ -128,7 +128,7 @@ fn filter_frames(frames: &[Frame],
|
|||
/// Fixed frame used to clean the backtrace with `RUST_BACKTRACE=1`.
|
||||
#[inline(never)]
|
||||
pub fn __rust_begin_short_backtrace<F, T>(f: F) -> T
|
||||
where F: FnOnce() -> T, F: Send + 'static, T: Send + 'static
|
||||
where F: FnOnce() -> T, F: Send, T: Send
|
||||
{
|
||||
f()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue