Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Manually test that panicking from C will abort the process
Panicking from C is not UB in newer rust versions and will reliably trigger an abort (without unwinding). In older rust versions, it is technically UB but empirically it seems to "just work" (and what should it realistically do except crashing, which is what we intent). Since there's potentially no unwinding, we can't test this behavior using [should_panic]. This PR will check the exit code instead in our CI tests.
- Loading branch information