asomers / mockall

A powerful mock object library for Rust
Apache License 2.0
1.45k stars 61 forks source link

extern C functions need to be C-unwind in Rust 1.81.0 #584

Closed asomers closed 2 months ago

asomers commented 2 months ago

A recent change to rustc (https://github.com/rust-lang/rust/issues/74990) changed the behavior of unwinding from a Rust function across an extern C ABI change. Now, that will cause an abort. This is causing Mockall's CI tests to fail. The possible solutions are either: