fix bevy imports. windows_settings.rs example#9547
Merged
alice-i-cecile merged 1 commit intobevyengine:mainfrom Aug 23, 2023
Merged
fix bevy imports. windows_settings.rs example#9547alice-i-cecile merged 1 commit intobevyengine:mainfrom
alice-i-cecile merged 1 commit intobevyengine:mainfrom
Conversation
IceSentry
approved these changes
Aug 23, 2023
Contributor
|
That's the second PR I did where this happened, I wonder if there's something I can do with rust-analyzer to force it to not use the bevy_internal stuff. |
Contributor
|
Or maybe some CI step that could check for this? |
alice-i-cecile
approved these changes
Aug 23, 2023
Member
I think the simplest solution that should catch all issues is to grep for |
github-merge-queue bot
pushed a commit
that referenced
this pull request
Aug 29, 2023
# Objective - Avoid using bevy_internal imports in examples. ## Solution - Add CI to check for bevy_internal imports like suggested in #9547 (comment) - Fix another import I don't know much about CI so I don't know if this is the better approach, but I think is better than doing a pull request every time I found this lol, any suggestion is welcome. --------- Co-authored-by: Rob Parrett <[email protected]>
rdrpenguin04
pushed a commit
to rdrpenguin04/bevy
that referenced
this pull request
Jan 9, 2024
# Objective - Avoid using bevy_internal imports in examples. ## Solution - Add CI to check for bevy_internal imports like suggested in bevyengine#9547 (comment) - Fix another import I don't know much about CI so I don't know if this is the better approach, but I think is better than doing a pull request every time I found this lol, any suggestion is welcome. --------- Co-authored-by: Rob Parrett <[email protected]>
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.
Objective
In #9355 was added an import using bevy_internal.
This change the import to use
bevy::windowinstead of abevy_internalto run the example outside of the bevy repo.