Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cyclic dependency breaks cargo smart-release #1050

Open
dave-tucker opened this issue Oct 9, 2024 · 0 comments
Open

cyclic dependency breaks cargo smart-release #1050

dave-tucker opened this issue Oct 9, 2024 · 0 comments

Comments

@dave-tucker
Copy link
Member

aya-ebpf-macros dev-depends on aya-ebpf

[dev-dependencies]
aya-ebpf = { path = "../ebpf/aya-ebpf", version = "^0.1.1", default-features = false }

aya-ebpf depends on aya-ebpf-macros since it re-exports those macros.

[dependencies]
aya-ebpf-cty = { version = "^0.2.2", path = "../aya-ebpf-cty" }
aya-ebpf-macros = { version = "^0.1.1", path = "../../aya-ebpf-macros" }

This gets us into trouble since we can't cargo publish aya-ebpf since aya-ebpf-macros hasn't yet been published.

The "fix" is to remove the dev-dependency, cargo publish with --allow-dirty. Then resume releasing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant