Skip to content

Commit 03d6746

Browse files
avi-starkwareclaude
andcommitted
workspace: declare cairo-native version on git dep for version sync test
Cargo accepts both git+rev and a version field together; the field is a SemVer constraint on the package at the git rev. The rev's Cargo.toml already pins 0.9.0-rc.6, matching native_compiler_version.txt, so the constants test required_cairo_native_version_test parses the version and succeeds. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 5aa0110 commit 03d6746

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ cairo-lang-utils = "2.19.0-rc.3"
264264
# (starkware-libs/cairo_native#1610 → #1611 → #1612 → #1613) containing
265265
# `ContractExecutor`, `EmuContractInfo`, `AotWithProgram`, and `run_with_profile`.
266266
# Switch back to a crates.io version once those land in a published cairo-native release.
267-
cairo-native = { git = "https://github.com/starkware-libs/cairo_native.git", rev = "7107710f05801b63f3f40d863dd8ed38680cc6f6" }
267+
cairo-native = { git = "https://github.com/starkware-libs/cairo_native.git", rev = "7107710f05801b63f3f40d863dd8ed38680cc6f6", version = "0.9.0-rc.7" }
268268
cairo-program-runner-lib = "1.1.0"
269269
cairo-vm = "3.2.0"
270270
camelpaste = "0.1.0"

0 commit comments

Comments
 (0)