pub fn test_main_env_args_abort(tests: &[&TestDescAndFn]) -> ExitCode🔬This is a nightly-only experimental API. (
test)Expand description
A variant that takes the arguments from the command line.
Runs tests in panic=abort mode, which involves spawning subprocesses for tests. If we are invoked as subprocess, this function does not return.
This is the entry point for the main function generated by rustc --test
when panic=abort.