eyre-rs / eyre

A trait object based error handling type for easy idiomatic error handling and reporting in Rust applications
Apache License 2.0
1.35k stars 63 forks source link

Fix ci breaking due to new dependencies and rustc changes (backport to master) #163

Closed ten3roberts closed 4 months ago

ten3roberts commented 5 months ago

Applies the same fixes that was applied to color-eyre-0.6 to master, namely the new update to trybuild that breaks our MSRV requirement, requiring us to pin the version, as the dependency only bumped the patch version for the updated MRSV.

It also fixes the theme test breaking on windows due to new before-main machinery on windows affecting the backtrace. This is fixed by filtering out the functions before and including main(due to no take_until iter adapter in std), but still includes the panicking function call.

There are currently three branches that need/needed this fix