Skip to content

Commit

Permalink
remove cargo metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
baoyachi committed Jun 5, 2023
1 parent 618e28a commit d8fdf06
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,17 +115,17 @@ impl SystemEnv {
}
}

if let Ok(_out) = Command::new("cargo")
.args(["metadata", "--format-version", "1"])
.output()
{
//TODO completed

// update_val(
// CARGO_METADATA,
// String::from_utf8(out.stdout)?.trim().to_string(),
// );
}
// TODO completed

// if let Ok(_out) = Command::new("cargo")
// .args(["metadata", "--format-version", "1"])
// .output()
// {
// update_val(
// CARGO_METADATA,
// String::from_utf8(out.stdout)?.trim().to_string(),
// );
// }

if let Some(v) = std_env.get("TARGET") {
update_val(BUILD_TARGET, v.to_string());
Expand Down

0 comments on commit d8fdf06

Please sign in to comment.