Skip to main content

test_main_env_args

Function test_main_env_args 

Source
pub fn test_main_env_args(tests: &[&TestDescAndFn]) -> ExitCode
🔬This is a nightly-only experimental API. (test)
Expand description

A variant that takes the arguments from the command line.

This is the entry point for the main function generated by rustc --test when panic=unwind.