diff options
| author | David Koloski <djkoloski@gmail.com> | 2021-12-03 15:32:51 +0000 |
|---|---|---|
| committer | David Koloski <djkoloski@gmail.com> | 2021-12-09 22:03:52 +0000 |
| commit | ea68758299a89556e67f0bfffffb19c0c8346e8a (patch) | |
| tree | cfaa63a0c8e70dfba8e3204bf38df53d31cbca51 /src/test/ui/threads-sendsync | |
| parent | 0b42deaccc2cbe17a68067aa5fdb76104369e1fd (diff) | |
| download | rust-ea68758299a89556e67f0bfffffb19c0c8346e8a.tar.gz rust-ea68758299a89556e67f0bfffffb19c0c8346e8a.zip | |
Add needs-unwind to tests that depend on panicking
This directive isn't automatically set by compiletest or x.py, but can be turned on manually for targets that require it.
Diffstat (limited to 'src/test/ui/threads-sendsync')
| -rw-r--r-- | src/test/ui/threads-sendsync/task-stderr.rs | 1 | ||||
| -rw-r--r-- | src/test/ui/threads-sendsync/unwind-resource.rs | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/test/ui/threads-sendsync/task-stderr.rs b/src/test/ui/threads-sendsync/task-stderr.rs index 78145e337da..68d226ffbae 100644 --- a/src/test/ui/threads-sendsync/task-stderr.rs +++ b/src/test/ui/threads-sendsync/task-stderr.rs @@ -1,5 +1,6 @@ // run-pass // ignore-emscripten no threads support +// needs-unwind #![feature(internal_output_capture)] diff --git a/src/test/ui/threads-sendsync/unwind-resource.rs b/src/test/ui/threads-sendsync/unwind-resource.rs index a063bef0822..6950a9c40d2 100644 --- a/src/test/ui/threads-sendsync/unwind-resource.rs +++ b/src/test/ui/threads-sendsync/unwind-resource.rs @@ -1,4 +1,5 @@ // run-pass +// needs-unwind #![allow(non_camel_case_types)] // ignore-emscripten no threads support |
