]> git.lizzy.rs Git - rust.git/commitdiff
Ignore wasm and emscripten targets for test
authorBryan Garza <1396101+bryangarza@users.noreply.github.com>
Fri, 11 Nov 2022 17:35:13 +0000 (17:35 +0000)
committerBryan Garza <1396101+bryangarza@users.noreply.github.com>
Fri, 11 Nov 2022 17:35:13 +0000 (17:35 +0000)
src/test/ui/async-await/track-caller/panic-track-caller.rs

index 4e659da9ee069a3e9955d0f46d36bf747114a3f4..5884a1b4a8cfe8cc232010cd3fbdd24ee92abe29 100644 (file)
@@ -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);
 }