Namely
By default, unit tests on panic=abort targets will abort the whole process. As these tests rely on #[should_panic] tests, they fail on those targets.
These tests can be made work on panic=abort targets with the additional -Zpanic_abort_tests flag. Both modes (with and without the -Z flag) can be tested using test revisions.
The other, simpler alternative is to mark the tests as needs-unwind to ignore them on panic=abort targets.
I'll send a PR implementing the first alternative.
Namely
By default, unit tests on panic=abort targets will abort the whole process. As these tests rely on
#[should_panic]tests, they fail on those targets.These tests can be made work on panic=abort targets with the additional
-Zpanic_abort_testsflag. Both modes (with and without the-Zflag) can be tested using test revisions.The other, simpler alternative is to mark the tests as
needs-unwindto ignore them on panic=abort targets.I'll send a PR implementing the first alternative.