test::test_main_static_abort - Rust
Description: API documentation for the Rust `test_main_static_abort` fn in crate `test`.
Keywords: rust, rustlang, rust-lang, test_main_static_abort

# [−][src]Function test::test_main_static_abort

    pub fn test_main_static_abort(tests: &[&TestDescAndFn])

🔬 This is a nightly-only experimental API. (`test`)

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.