Skip to content

Commit d95313b

Browse files
authored
Fix bevy_tasks catch_unwind compilation error with --all-features (#20567)
Fixes the 'catch_unwind' compilation errors in bevy_tasks when building with --all-features After file change, Re-ran cargo test --package bevy_ecs --all-features and the 'catch_unwind' errors were gone Part of #20542.
1 parent 0608978 commit d95313b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/bevy_tasks/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ multi_threaded = [
2222

2323
# Uses `async-executor` as a task execution backend.
2424
# This backend is incompatible with `no_std` targets.
25-
async_executor = ["bevy_platform/std", "dep:async-executor"]
25+
async_executor = ["bevy_platform/std", "dep:async-executor", "futures-lite"]
2626

2727
# Provide an implementation of `block_on` from `futures-lite`.
2828
futures-lite = ["bevy_platform/std", "futures-lite/std"]

0 commit comments

Comments
 (0)