Fixed bevy_image and bevy_gltf failing to compile with some features.#17887
Merged
alice-i-cecile merged 2 commits intobevyengine:mainfrom Feb 17, 2025
Merged
Conversation
| [dev-dependencies] | ||
| bevy_ecs = { path = "../bevy_ecs", version = "0.16.0-dev" } | ||
| bevy_sprite = { path = "../bevy_sprite", version = "0.16.0-dev" } | ||
| bevy_core_pipeline = { path = "../bevy_core_pipeline", version = "0.16.0-dev" } |
Member
There was a problem hiding this comment.
Ugh, this sucks. That's the wrong way for this dependency to flow. At least it's only a dev-dep.
alice-i-cecile
approved these changes
Feb 17, 2025
rparrett
approved these changes
Feb 17, 2025
Contributor
rparrett
left a comment
There was a problem hiding this comment.
This looks alright to me, though the dds situation had me scratching my had a bit.
rparrett
reviewed
Feb 17, 2025
github-merge-queue bot
pushed a commit
that referenced
this pull request
Mar 18, 2025
…18377) # Objective - #17887 introduced a circular dependency between bevy_image and bevy_core_pipeline - This makes it impossible to publish Bevy ## Solution - Remove the circular dependency, reintroduce the compilation failure - This failure shouldn't be an issue for users of Bevy, only for users of subcrates, and can be workaround - Proper fix should be done with #17891 - Limited compilation failure is better than publish failure
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #17290.
Compilation errors before fix
cargo clippy --tests --all-features --package bevy_image:cargo clippy --tests --all-features --package bevy_gltf: