Skip to content

Commit 01f33cf

Browse files
chore: fix failed publish caused by cyclic dev dependencies (#4416)
1. This looks like caused by rust-lang/cargo#4242 ## Ref 1. rust-lang/futures-rs#2305
1 parent c1cf0e6 commit 01f33cf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

crates/oxc_mangler/Cargo.toml

+3-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ oxc_index = { workspace = true }
2828
itertools = { workspace = true }
2929

3030
[dev-dependencies]
31-
oxc_codegen = { workspace = true }
31+
# Using `path` instead of `workspace = true` Workaround for https://github.com/rust-lang/cargo/issues/4242
32+
# ref: https://github.com/rust-lang/futures-rs/pull/2305
33+
oxc_codegen = { path = "../oxc_codegen" }
3234
oxc_parser = { workspace = true }
3335
oxc_span = { workspace = true }
3436
oxc_allocator = { workspace = true }

0 commit comments

Comments
 (0)