mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 20:53:53 +00:00
02ac5c4c5b
# Objective PR #6360 changed `TaskPoolOptions` so it is no longer used as a Resource, but didn't remove the `Resource` derive. ## Solution Remove the Resource derive from `TaskPoolOptions`, as it is no longer needed. Also add a Debug derive, because it didn't have it before. --- ## Changelog - `TaskPoolOptions` no longer derives Resource, and `TaskPoolOptions` & `TaskPoolThreadAssignmentPolicy` now derive Debug. ## Migration Guide If for some reason anyone is still using `TaskPoolOptions` as a Resource, they would now have to use a wrapper type: ```rust #[derive(Resource)] pub struct MyTaskPoolOptions(pub TaskPoolOptions); ``` |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |