Closed TimDiekmann closed 2 years ago
Wow, is this all that's needed to satisfy miri? I was under the impression from https://github.com/yaahc/eyre/issues/59 that it would be more involved.
I'll make sure to cut a new release later today, thank you for the fix!
I cannot guarantee, that every test is passing using miri because some tests use features, which are not available with miri and I didn't investigate further. However, simple tests (create a Report
, wrap it a few times, drop it) are now passing.
If you need help setting up miri for CI feel free to ping me! 🙂
If you need help setting up miri for CI feel free to ping me! 🙂
I mean, if you wanted to do that please do so! I haven't been great about making time for maint on eyre and appreciate all the help I can get.
🌟 What is the purpose of this PR?
While adding a compatibility layer in
error-stack
foreyre
,miri
has detected a bug we also encountered when implementingerror-stack
.🔗 Related links
🔍 What does this change?
mem::transmute
when dropping with a pointer cast