diff --git a/cranelift/codegen/Cargo.toml b/cranelift/codegen/Cargo.toml index ddd7f56047..24bef59b01 100644 --- a/cranelift/codegen/Cargo.toml +++ b/cranelift/codegen/Cargo.toml @@ -27,7 +27,7 @@ serde = { version = "1.0.94", features = ["derive"], optional = true } bincode = { version = "1.2.1", optional = true } gimli = { workspace = true, features = ["write"], optional = true } smallvec = { workspace = true } -regalloc2 = { version = "0.7.0", features = ["checker"] } +regalloc2 = { path = "../../../regalloc2", features = ["checker"] } souper-ir = { version = "2.1.0", optional = true } sha2 = { version = "0.10.2", optional = true } # It is a goal of the cranelift-codegen crate to have minimal external dependencies. diff --git a/winch/codegen/Cargo.toml b/winch/codegen/Cargo.toml index 6ac3309b28..ca68093f5c 100644 --- a/winch/codegen/Cargo.toml +++ b/winch/codegen/Cargo.toml @@ -17,7 +17,7 @@ target-lexicon = { workspace = true, features = ["std"] } # In the next iteration we'll factor out the common bits so that they can be consumed # by Cranelift and Winch. cranelift-codegen = { workspace = true } -regalloc2 = "0.7.0" +regalloc2 = { path = "../../../regalloc2" } gimli = { workspace = true } [features]