Skip to content

Commit

Permalink
fix(cairo_native): use current dir in cairo compile
Browse files Browse the repository at this point in the history
  • Loading branch information
noaov1 committed Dec 19, 2024
1 parent 24503a1 commit b34c5ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/blockifier/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ fn compile_cairo_native_aot_runtime() {
use infra_utils::path::current_dir;

let cairo_native_dir =
PathBuf::from(compile_time_cargo_manifest_dir!()).join(PathBuf::from("cairo_native"));
current_dir().expect("Failed to get current directory").join(PathBuf::from("cairo_native"));

if !cairo_native_dir.exists() || !cairo_native_dir.join(".git").exists() {
panic!(
Expand Down

0 comments on commit b34c5ab

Please sign in to comment.