Skip to content

Commit

Permalink
Refoctor build error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
ebraraktas committed Feb 1, 2022
1 parent 705a91d commit 04db3fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ fn prepare_tensorflow_repo() -> PathBuf {
}

fn check_and_set_envs() {
let python_bin_path = get_python_bin_path().expect("Cannot find Python binary");
let python_bin_path =
get_python_bin_path().expect("Cannot find Python binary having required packages.");
let os = env::var("CARGO_CFG_TARGET_OS").expect("Unable to get TARGET_OS");
let default_envs = [
["PYTHON_BIN_PATH", python_bin_path.to_str().unwrap()],
Expand Down

0 comments on commit 04db3fe

Please sign in to comment.