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

Remove self-dependency of crates in development #378

Merged
merged 4 commits into from
Oct 11, 2024
Merged

Conversation

robertknight
Copy link
Owner

@robertknight robertknight commented Oct 11, 2024

The rten and rten-generate crates had a self-dependency used to enable features when running tests. This caused rust-analyzer to complain about cyclic dependencies when running rust-analyzer diagnostics and it seems that there might be some issues in Cargo (see rust-lang/cargo#2911) but I haven't read the whole thread yet.

See also rust-lang/rust-analyzer#14167.

The rten crate had a dependency on itself in development in order to enable
additional features. This worked when building, but appeared to prevent rust
analyzer from working properly in the rten-examples crate.

See also rust-lang/cargo#2911.
@robertknight robertknight merged commit ace6574 into main Oct 11, 2024
2 checks passed
@robertknight robertknight deleted the remove-cyclic-dep branch October 11, 2024 19:22
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

Successfully merging this pull request may close these issues.

1 participant