File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 4
4
// ignore-tidy-linelength
5
5
//@ ignore-windows original test is ignore-windows
6
6
//@ ignore-android FIXME #17520
7
- //@ ignore-wasm32 spawning processes is not supported
8
7
//@ ignore-openbsd no support for libbacktrace without filename
9
- //@ ignore-sgx no processes
10
- //@ ignore-msvc see #62897 and `backtrace-debuginfo.rs` test
11
8
//@ ignore-fuchsia Backtraces not symbolized
12
9
//@ run-pass
13
10
//@ compile-flags: -Cdebuginfo=line-tables-only -Cstrip=none
@@ -53,6 +50,7 @@ fn assert_contains(
53
50
/// the same as at level 2.
54
51
fn main ( ) {
55
52
std:: env:: set_var ( "RUST_BACKTRACE" , "1" ) ;
53
+ std:: env:: set_var ( "WASMTIME_BACKTRACE_DETAILS" , "1" ) ;
56
54
let mut backtrace: Option < Backtrace > = None ;
57
55
unsafe { line_tables_only_foo ( store_backtrace, addr_of_mut ! ( backtrace) . cast :: < c_void > ( ) ) } ;
58
56
let backtrace = backtrace. expect ( "backtrace" ) ;
You can’t perform that action at this time.
0 commit comments