pub fn validate(path: &Path, bin: &str) -> Result<()>
Exists, a regular file, named <bin> or <bin>.exe, and not in a release profile directory.
<bin>
<bin>.exe
release