Skip to content

Commit

Permalink
fix(starknet_sierra_compile): fix needless build.rs reruns (#2717)
Browse files Browse the repository at this point in the history
  • Loading branch information
avi-starkware authored Dec 17, 2024
1 parent 21cd7a8 commit bbbd068
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/starknet_sierra_compile/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ fn install_starknet_native_compile() {

fn install_compiler_binary(binary_name: &str, required_version: &str, cargo_install_args: &[&str]) {
let binary_path = binary_path(out_dir(), binary_name);
println!("cargo:rerun-if-changed={:?}", binary_path);
println!("cargo:rerun-if-changed={}", binary_path.to_str().unwrap());

match Command::new(&binary_path).args(["--version"]).output() {
Ok(binary_version) => {
Expand Down

0 comments on commit bbbd068

Please sign in to comment.