Skip to main content

run

Function run 

Source
pub fn run() -> ExitCode
Expand description

Run the example from the command line.

Returns the process exit code: the snapshot tests report their result through it, so a CI run sees a mismatched snapshot as a failed command.

Android never comes through here — its activity has no command line and enters at the module that entry point lives in instead — but the function stays part of the library so the two entry points differ in as little as possible.