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:
parent
64d57fad08
commit
c14733d177
@ -331,7 +331,12 @@ libm = [
|
|||||||
|
|
||||||
# Uses `async-executor` as a task execution backend.
|
# Uses `async-executor` as a task execution backend.
|
||||||
# This backend is incompatible with `no_std` targets.
|
# 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.
|
# Enables use of browser APIs.
|
||||||
# Note this is currently only applicable on `wasm32` architectures.
|
# Note this is currently only applicable on `wasm32` architectures.
|
||||||
|
@ -59,7 +59,7 @@ bevy_reflect = [
|
|||||||
|
|
||||||
## Uses `async-executor` as a task execution backend.
|
## Uses `async-executor` as a task execution backend.
|
||||||
## This backend is incompatible with `no_std` targets.
|
## 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
|
# Platform Compatibility
|
||||||
|
|
||||||
@ -74,7 +74,7 @@ std = [
|
|||||||
"bevy_math/std",
|
"bevy_math/std",
|
||||||
"bevy_reflect?/std",
|
"bevy_reflect?/std",
|
||||||
"bevy_tasks/std",
|
"bevy_tasks/std",
|
||||||
"bevy_utils?/std",
|
"bevy_utils/std",
|
||||||
"serde?/std",
|
"serde?/std",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user