mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-10 22:13:27 +00:00
Rollup merge of #126740 - ferrocene:ja-ui-test-needs-unwind, r=lcnr
add `needs-unwind` to UI test the `tail-expr-lock-poisoning` UI test uses the `panic::catch_unwind` API so it relies on unwinding being implemented. this test ought not to run on targets that do not support unwinding. add the `needs-unwind` attribute to signal this
This commit is contained in:
commit
7b5ed5a66c
@ -3,6 +3,7 @@
|
||||
//@ [edition2024] compile-flags: -Zunstable-options
|
||||
//@ [edition2024] edition: 2024
|
||||
//@ run-pass
|
||||
//@ needs-unwind
|
||||
#![cfg_attr(edition2024, feature(shorter_tail_lifetimes))]
|
||||
|
||||
use std::sync::Mutex;
|
||||
|
Loading…
Reference in New Issue
Block a user