Skip to content

Commit

Permalink
Unrolled build for rust-lang#126740
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#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
  • Loading branch information
rust-timer committed Jun 20, 2024
2 parents cb8a7ea + f42fa4f commit fe40621
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/ui/lifetimes/tail-expr-lock-poisoning.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit fe40621

Please sign in to comment.