Skip to content

Commit dbc933e

Browse files
authored
Unrolled build for rust-lang#131835
Rollup merge of rust-lang#131835 - ferrocene:amanjeev/add-missing-attribute-unwind, r=Noratrieb Do not run test where it cannot run This was seen on Ferrocene, where we have a custom test target that does not have unwind support
2 parents 86bd459 + f999ab8 commit dbc933e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/core/tests/lazy.rs

+1
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ fn lazy_type_inference() {
114114
}
115115

116116
#[test]
117+
#[cfg(panic = "unwind")]
117118
#[should_panic = "LazyCell instance has previously been poisoned"]
118119
fn lazy_force_mut_panic() {
119120
let mut lazy = LazyCell::<String>::new(|| panic!());

0 commit comments

Comments
 (0)