mojo icon indicating copy to clipboard operation
mojo copied to clipboard

[Feature Request] [stdlib] Add `assert_aborts()`

Open martinvuyk opened this issue 8 months ago • 2 comments

Review Mojo's priorities

What is your request?

As title.

What is your motivation for this change?

A way to test if a program aborts to avoid unsafe and undefined behavior

Any other details?

It could be done by having it require a closure to be passed in and somehow spin up an isolated process

martinvuyk avatar Jun 22 '24 15:06 martinvuyk