Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion crates/apollo_compile_to_native/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ fn install_starknet_native_compile() {
// TODO(Avi): Revert to `--version` install once cairo-native publishes a release with blake
// builtin support.
let cargo_install_args =
&[binary_name, "--git", CAIRO_NATIVE_GIT_URL, "--branch", CAIRO_NATIVE_GIT_BRANCH];
&[binary_name, "--git", CAIRO_NATIVE_GIT_URL, "--rev", CAIRO_NATIVE_GIT_REV];
install_compiler_binary(binary_name, required_version, cargo_install_args, &out_dir());
}

Expand Down
2 changes: 1 addition & 1 deletion crates/apollo_compile_to_native/src/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ pub(crate) const CAIRO_NATIVE_BINARY_NAME: &str = "starknet-native-compile";
// TODO(Avi): Remove git URL/branch constants once cairo-native publishes a release with blake
// builtin support, and revert to installing from crates.io.
pub const CAIRO_NATIVE_GIT_URL: &str = "https://github.com/lambdaclass/cairo_native";
pub const CAIRO_NATIVE_GIT_BRANCH: &str = "tomer/blake_builtin";
pub const CAIRO_NATIVE_GIT_REV: &str = "b3fea26c8a3f3a48d0f1b473d7439435c6389083";

// Kept for the version check on the installed binary (--version output).
pub const REQUIRED_CAIRO_NATIVE_VERSION: &str = "0.9.0-rc.1";
Loading