Fix getrandom fallback test on platforms with panic=abort#158613
Fix getrandom fallback test on platforms with panic=abort#158613fs-rachel wants to merge 2 commits into
panic=abort#158613Conversation
Fixes test failures on {aarch64*-none, armv7r-eabihf, thumbv7em-eabi*} targets which
have panic=abort by default
|
Thanks for the pull request, and welcome! The Rust Project is excited to review your changes, and you should hear from @Darksonn (or someone else) some time within the next two weeks. Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (
Why was this reviewer chosen?The reviewer was selected based on:
|
|
Oh, right... thanks! |
|
This pull request was unapproved. |
|
✌️ @fs-rachel, you can now approve this pull request! If @joboet told you to " |
The recently-added linux-getrandom-fallback test fails on targets matching {aarch64*-none, armv7r-eabihf, thumbv7em-eabi*}. This is because those platforms set
panic=abortby default, and the test relies on being able to catch a panic.Mark the test as
needs-unwindso that it won't be run inpanic=abortconfigurations.Also add extra debug information to the panic when getrandom() fails with an unexpected error code on Linux