Skip to content

Commit b678e92

Browse files
committed
Ignore wasm and emscripten targets for test
1 parent 509b947 commit b678e92

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/test/ui/async-await/track-caller/panic-track-caller.rs

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
// run-pass
22
// edition:2021
3+
4+
// ignore-wasm no panic or subprocess support
5+
// ignore-emscripten no panic or subprocess support
36
#![feature(closure_track_caller)]
47

58
use std::future::Future;
@@ -70,6 +73,6 @@ fn panicked_at(f: impl FnOnce() + panic::UnwindSafe) -> u32 {
7073
}
7174

7275
fn main() {
73-
assert_eq!(panicked_at(|| block_on(foo())), 40);
74-
assert_eq!(panicked_at(|| block_on(foo_track_caller())), 53);
76+
assert_eq!(panicked_at(|| block_on(foo())), 43);
77+
assert_eq!(panicked_at(|| block_on(foo_track_caller())), 56);
7578
}

0 commit comments

Comments
 (0)