Skip to content

Commit e1108bb

Browse files
tell miri to stop fake-inlining the test fn
1 parent 5cb23fe commit e1108bb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/skip_inner_frames.rs

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const ENABLED: bool = cfg!(all(
1313
));
1414

1515
#[test]
16+
#[inline(never)]
1617
fn backtrace_new_unresolved_should_start_with_call_site_trace() {
1718
if !ENABLED {
1819
return;
@@ -30,6 +31,7 @@ fn backtrace_new_unresolved_should_start_with_call_site_trace() {
3031
}
3132

3233
#[test]
34+
#[inline(never)]
3335
fn backtrace_new_should_start_with_call_site_trace() {
3436
if !ENABLED {
3537
return;

0 commit comments

Comments
 (0)