2022-07-08 11:08:32 -05:00
|
|
|
//@compile-flags: -Zmiri-disable-isolation
|
2022-08-06 14:29:43 -05:00
|
|
|
//@rustc-env: RUST_BACKTRACE=1
|
2022-06-01 19:32:01 -05:00
|
|
|
|
|
|
|
#![feature(backtrace)]
|
|
|
|
|
|
|
|
use std::alloc::System;
|
|
|
|
use std::backtrace::Backtrace;
|
|
|
|
|
|
|
|
#[global_allocator]
|
|
|
|
static GLOBAL_ALLOCATOR: System = System;
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
eprint!("{}", Backtrace::capture());
|
|
|
|
}
|