Function test::test_main_static_abort
source · pub fn test_main_static_abort(tests: &[&TestDescAndFn])
🔬This is a nightly-only experimental API. (
test
)Expand description
A variant optimized for invocation with a static test vector. This will panic (intentionally) when fed any dynamic tests.
Runs tests in panic=abort mode, which involves spawning subprocesses for tests.
This is the entry point for the main function generated by rustc --test
when panic=abort.