This commit is contained in:
tensor-programming 2019-07-28 14:39:28 -04:00
parent 55a2085f99
commit 6018de2f30
1 changed files with 5 additions and 0 deletions

View File

@ -196,6 +196,11 @@ impl Settings {
name.clone(),
),
};
let binary_name = if cfg!(windows) {
format!("{}.{}", &binary_name, "exe")
} else {
binary_name
};
let binary_path = target_dir.join(&binary_name);
Ok(Settings {
package,