Skip to content

Commit 6fc69cd

Browse files
fix: explicitly set resolver version in virtual manifest (#1311)
* Explicitly set resolver version in virtual manifest The default for crates with edition >= 2021 is the version 2 of the resolver. Virtual manifests, however, default to version 1. Seems that when we moved the VM to its own directory, we also changed the resolver we used. * Update changelog --------- Co-authored-by: Pedro Fontana <[email protected]>
1 parent ddf817b commit 6fc69cd

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,12 @@
22

33
#### Upcoming Changes
44

5+
* fix: specify resolver version 2 in the virtual workspace's manifest [#1311](https://github.com/lambdaclass/cairo-vm/pull/1311)
6+
57
* feat: add `lambdaworks-felt` feature to `cairo-vm-cli` [#1308](https://github.com/lambdaclass/cairo-vm/pull/1308)
68

7-
* chore: update dependencies, particularly clap 3.2 -> 4.3
9+
* chore: update dependencies, particularly clap 3.2 -> 4.3 [#1309](https://github.com/lambdaclass/cairo-vm/pull/1309)
10+
811
* this removes dependency on _atty_, that's no longer mantained
912

1013
* chore: remove unused dependencies [#1307](https://github.com/lambdaclass/cairo-vm/pull/1307)

Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
members = ["cairo-vm-cli", "felt", "vm", "hint_accountant"]
33
exclude = ["ensure-no_std"]
44

5+
# Explicitly set the resolver to the default for edition >= 2021
6+
# https://doc.rust-lang.org/edition-guide/rust-2021/default-cargo-resolver.html
7+
resolver = "2"
8+
59
[workspace.package]
610
version = "0.8.1"
711
edition = "2021"

0 commit comments

Comments
 (0)