Skip to content

Commit 4432bfe

Browse files
radik878bitwalker
authored andcommitted
chore(deps): update to no-std compatible petgraph
1 parent 0c22c3a commit 4432bfe

File tree

4 files changed

+14
-18
lines changed

4 files changed

+14
-18
lines changed

Cargo.lock

Lines changed: 8 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ members = [
2424
]
2525
exclude = [
2626
"sdk/.cargo",
27-
"tests/rust-apps-wasm",
28-
"cargo-ext/tests/data",
27+
"tests/",
2928
"examples",
3029
]
3130

@@ -92,7 +91,9 @@ miette = { package = "miden-miette", version = "7.1.1" }
9291
paste = "1.0"
9392
parking_lot = "0.12"
9493
parking_lot_core = "0.9"
95-
petgraph = "0.6"
94+
petgraph = { version = "0.8", default-features = false, features = [
95+
"graphmap"
96+
] }
9697
pretty_assertions = "1.0"
9798
proptest = "1.4"
9899
proc-macro2 = "1.0"

codegen/masm/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ edition.workspace = true
1313

1414
[features]
1515
default = ["std"]
16-
std = ["midenc-hir/std", "midenc-dialect-hir/std"]
16+
std = ["midenc-hir/std", "midenc-dialect-hir/std", "petgraph/std"]
1717

1818
[dependencies]
1919
inventory.workspace = true

codegen/masm/src/opt/operands/tactics/linear.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ impl Tactic for Linear {
108108
be moved to make space for {:?}",
109109
root.value
110110
);
111-
let mut seen = std::collections::BTreeSet::default();
111+
let mut seen = alloc::collections::BTreeSet::default();
112112
seen.insert(root);
113113
while let Some(parent_operand) = parent {
114114
root = parent_operand;

0 commit comments

Comments
 (0)