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

Fix wrong transmuted type in TaskPool::scope_with_executor_inner #11455

Merged
merged 1 commit into from
Jan 21, 2024

Conversation

SkiFire13
Copy link
Contributor

Objective

#8219 changed the target type of a transmute without changing the one transmuting from (see the relevant diff), making them incompatible. This PR fixes this by changing the initial type to match the target one (modulo lifetimes).

Solution

Change the type to be transmuted from to match the one transmuting into (modulo lifetimes)

@SkiFire13 SkiFire13 force-pushed the fix-wrong-transmute branch 2 times, most recently from dcf5c96 to e174ddd Compare January 21, 2024 13:24
@alice-i-cecile alice-i-cecile added C-Bug An unexpected or incorrect behavior A-Tasks Tools for parallel and async work labels Jan 21, 2024
@alice-i-cecile alice-i-cecile added the S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it label Jan 21, 2024
@alice-i-cecile alice-i-cecile added this pull request to the merge queue Jan 21, 2024
Merged via the queue into bevyengine:main with commit 0fa14c8 Jan 21, 2024
25 checks passed
@SkiFire13 SkiFire13 deleted the fix-wrong-transmute branch January 21, 2024 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Tasks Tools for parallel and async work C-Bug An unexpected or incorrect behavior S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants