Ensure bevy_utils is included with std feature (#18201)

# Objective

- Fixes #18200

## Solution

- Ensure `bevy_utils` is included with `bevy_transform/std`

## Testing

- `cargo build  --no-default-features --features std`

## Notes

Compilation failure was caused by `bevy_transform`'s new parallel
propagation system requiring `bevy_utils/std` when `bevy_transform/std`
was active, but it was left optional. Additionally,
`bevy_transform/async_executor` wasn't being enabled by
`bevy/async_executor`.
This commit is contained in:
Zachary Harrold 2025-03-09 08:51:51 +11:00 committed by GitHub
parent 64d57fad08
commit c14733d177
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 3 deletions

View File

@ -331,7 +331,12 @@ libm = [
# Uses `async-executor` as a task execution backend.
# This backend is incompatible with `no_std` targets.
async_executor = ["std", "bevy_tasks/async_executor", "bevy_ecs/async_executor"]
async_executor = [
"std",
"bevy_tasks/async_executor",
"bevy_ecs/async_executor",
"bevy_transform/async_executor",
]
# Enables use of browser APIs.
# Note this is currently only applicable on `wasm32` architectures.

View File

@ -59,7 +59,7 @@ bevy_reflect = [
## Uses `async-executor` as a task execution backend.
## This backend is incompatible with `no_std` targets.
async_executor = ["std", "dep:bevy_utils", "bevy_tasks/async_executor"]
async_executor = ["std", "bevy_tasks/async_executor"]
# Platform Compatibility
@ -74,7 +74,7 @@ std = [
"bevy_math/std",
"bevy_reflect?/std",
"bevy_tasks/std",
"bevy_utils?/std",
"bevy_utils/std",
"serde?/std",
]