Skip to content

Commit

Permalink
chore(starknet_sierra_compile): move env var from run time to compile…
Browse files Browse the repository at this point in the history
… time

commit-id:6e7f2a75
  • Loading branch information
Itay-Tsabary-Starkware committed Dec 4, 2024
1 parent 1b90f8c commit ba2756e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/starknet_sierra_compile/src/build_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ pub fn output_file_path() -> String {

#[cfg(feature = "cairo_native")]
pub fn repo_root_dir() -> PathBuf {
Path::new(&std::env::var("CARGO_MANIFEST_DIR").unwrap()).join("../..").to_path_buf()
Path::new(env!("CARGO_MANIFEST_DIR")).join("../..").to_path_buf()
}

0 comments on commit ba2756e

Please sign in to comment.