about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBryan Garza <1396101+bryangarza@users.noreply.github.com>2022-11-11 17:35:13 +0000
committerBryan Garza <1396101+bryangarza@users.noreply.github.com>2022-11-11 17:35:13 +0000
commitb678e9221a57dcdb7cf959af4e83c0579622349d (patch)
tree9a7bed78ee117c3aba73f907b218f161c0252ab4
parent509b9478f58582d8ddca1e2a31436e487b74fae5 (diff)
downloadrust-b678e9221a57dcdb7cf959af4e83c0579622349d.tar.gz
rust-b678e9221a57dcdb7cf959af4e83c0579622349d.zip
Ignore wasm and emscripten targets for test
-rw-r--r--src/test/ui/async-await/track-caller/panic-track-caller.rs7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/test/ui/async-await/track-caller/panic-track-caller.rs b/src/test/ui/async-await/track-caller/panic-track-caller.rs
index 4e659da9ee0..5884a1b4a8c 100644
--- a/src/test/ui/async-await/track-caller/panic-track-caller.rs
+++ b/src/test/ui/async-await/track-caller/panic-track-caller.rs
@@ -1,5 +1,8 @@
 // run-pass
 // edition:2021
+
+// ignore-wasm no panic or subprocess support
+// ignore-emscripten no panic or subprocess support
 #![feature(closure_track_caller)]
 
 use std::future::Future;
@@ -70,6 +73,6 @@ fn panicked_at(f: impl FnOnce() + panic::UnwindSafe) -> u32 {
 }
 
 fn main() {
-    assert_eq!(panicked_at(|| block_on(foo())), 40);
-    assert_eq!(panicked_at(|| block_on(foo_track_caller())), 53);
+    assert_eq!(panicked_at(|| block_on(foo())), 43);
+    assert_eq!(panicked_at(|| block_on(foo_track_caller())), 56);
 }