pub fn run(
target: &Target,
program: &str,
args: &[String],
) -> Result<i32, String>Expand description
Runs program with args under the filter for target and returns its
exit status (128 if it was killed by a signal). The current directory and
environment are inherited. Suitable for a Cargo runner.
ยงErrors
Returns a message when the host is not x86_64 or program cannot be
started, including when the filter cannot be installed.